Sfoglia il codice sorgente

* Fixed another modesperline bug

svn: 1201
Bryan Drewery 22 anni fa
parent
commit
2e4d7885f2
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/mod/irc.mod/mode.c

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

@@ -108,6 +108,9 @@ flush_mode(struct chanset_t *chan, int pri)
   int plus = 2;                 /* 0 = '-', 1 = '+', 2 = none */
   unsigned int i = 0;
 
+  if (!modesperline)            /* Haven't received 005 yet :) */
+    return;
+
   flush_cookies(chan, pri);
 
 /* dequeue_op_deop(chan); */