Explorar el Código

* If reversing modes, dump them out quickly

Bryan Drewery hace 16 años
padre
commit
6d065ffb43
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

@@ -1506,6 +1506,9 @@ gotmode(char *from, char *msg)
           }
         }
       }
+      // If reversing, dump the modes out
+      if (reversing)
+        flush_mode(chan, QUICK);
       for (i = 0; i < modecnt; i++)
         if (modes[i])
           free(modes[i]);