projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed last commit
[NeonServV5.git]
/
src
/
event_neonserv_join.c
diff --git
a/src/event_neonserv_join.c
b/src/event_neonserv_join.c
index c38cdddae487c8197916f872e7dee4644d2c1ff5..f3e94ae2a993f5c1a58e4c45cba2a46e2d15bc9c 100644
(file)
--- 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
}
}
//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;
//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;