Explorar o código

* Fixed another modesperline bug

svn: 1201
Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
2e4d7885f2
Modificáronse 1 ficheiros con 3 adicións e 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); */