fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git] / src / IRCParser.c
index fc6b607cbf2e98c8ce3bba734090cf4eec9dcf31..ff244a05043c98384c978b0dca68e8bca1a01be2 100644 (file)
@@ -334,6 +334,10 @@ static IRC_CMD(raw_join) {
         
         event_registered(user, from);
         user->flags &= ~USERFLAG_WAS_REGISTERING;
+        if(user->last_who > REWHO_TIMEOUT)
+            user->last_who -= REWHO_TIMEOUT;
+        
+        event_join(chanuser);
     } else if(!(chan->flags & CHANFLAG_RECEIVED_USERLIST)) {
         if(client->user != user) { //bots are allowed to add themselves
             DESYNCHRONIZE(cache_sync);