added missing DESYNCHRONIZE in IRCParser.c
[NeonServV5.git] / src / IRCParser.c
index 0f6c6922603ae15db0f3a71cb1551fca148b4417..60b48d9fe342649c5436b8550feeeb42c5c4783e 100644 (file)
@@ -188,8 +188,10 @@ static IRC_CMD(raw_join) {
         event_registered(user, from);
         user->flags &= ~USERFLAG_WAS_REGISTERING;
     } else if(!(chan->flags & CHANFLAG_RECEIVED_USERLIST)) {
-        if(!isBot(user))
+        if(!isBot(user)) {
+            DESYNCHRONIZE(cache_sync);
             return 1; //ignore join
+        }
         
         chanuser = addChanUser(chan, user);
         chanuser->visCount = 1;