Parcourir la source

* Fix channel joining causing issues with restarting

Bryan Drewery il y a 16 ans
Parent
commit
a1210af4bc
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/mod/server.mod/servmsg.c

+ 2 - 1
src/mod/server.mod/servmsg.c

@@ -269,7 +269,8 @@ got004(char *from, char *msg)
     putlog(LOG_DEBUG, "*", "Server allows connect bursting, bursting for %d seconds", SERVER_CONNECT_BURST_TIME);
   }
 
-  join_chans();
+  if (!replaying_cache)
+    join_chans();
 
   return 0;
 }