Ver Fonte

* Ensure not in burst mode when flushing cookies

Bryan Drewery há 16 anos atrás
pai
commit
3242abd27f
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      src/mod/irc.mod/mode.c

+ 3 - 0
src/mod/irc.mod/mode.c

@@ -114,6 +114,9 @@ do_op(char *nick, struct chanset_t *chan, bool delay, bool force)
 static void
 flush_cookies(struct chanset_t *chan, int pri)
 {
+  if (connect_bursting) // Make sure not in burst mode
+    return;
+
   char out[512] = "", *p = out, post[512] = "";
   size_t postsize = sizeof(post) - 1;
   memberlist *nicks[3] = { NULL, NULL, NULL };