From: pk910 Date: Thu, 6 Sep 2012 13:30:38 +0000 (+0200) Subject: do not ignore Bots and IRCOps in get_userauth X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=29dd2a00d5d26bb042dfbe90fdd96eea1a0be300 do not ignore Bots and IRCOps in get_userauth --- diff --git a/src/WHOHandler.c b/src/WHOHandler.c index efbd24e..3294e38 100644 --- a/src/WHOHandler.c +++ b/src/WHOHandler.c @@ -215,7 +215,7 @@ void get_userauth(struct UserNode *user, int module_id, userauth_callback_t call callback(bot, user->nick, NULL, data); return; } - if((user->flags & (USERFLAG_ISAUTHED | USERFLAG_ISIRCOP | USERFLAG_ISBOT | USERFLAG_ISSERVER)) || (time(0) - user->last_who) <= REWHO_TIMEOUT) { + if((user->flags & (USERFLAG_ISAUTHED | USERFLAG_ISSERVER)) || (time(0) - user->last_who) <= REWHO_TIMEOUT) { callback(bot, user->nick, user, data); return; }