From: pk910 Date: Sat, 10 Dec 2011 03:53:56 +0000 (+0100) Subject: fixed last commit X-Git-Tag: v5.3~157 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=9f687ab9ab897f0789c880cf1b42b83bdb11633e fixed last commit --- diff --git a/src/event_neonserv_join.c b/src/event_neonserv_join.c index c38cddd..f3e94ae 100644 --- a/src/event_neonserv_join.c +++ b/src/event_neonserv_join.c @@ -172,7 +172,7 @@ static void neonserv_event_join_async1(struct ClientSocket *client, struct ChanU } } //AUTOINVITE - if((user->flags & USERFLAG_ISAUTHED) && !chanuserrow || !strcmp(chanuserrow[3], "0") || time(0) - atol(chanuserrow[3]) >= 30) { + if((user->flags & USERFLAG_ISAUTHED) && (!chanuserrow || !strcmp(chanuserrow[3], "0") || time(0) - atol(chanuserrow[3]) >= 30)) { //check if it's the first channel, the user is seen by the bot (IMPORTANT: ignore other bot's channel!) char first_chan = 1; char bot_in_chan;