Explorar el Código

* Fixed another modesperline bug

svn: 1201
Bryan Drewery hace 22 años
padre
commit
2e4d7885f2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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); */