Explorar el Código

Enforce 'chanmode' minutely (#48)

Bryan Drewery hace 14 años
padre
commit
abfd6010bb
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/mod/irc.mod/irc.c

+ 4 - 0
src/mod/irc.mod/irc.c

@@ -1580,6 +1580,10 @@ check_expired_chanstuff(struct chanset_t *chan)
     if (bot_ops && !im_opped) {
       request_op(chan);
     }
+
+    if (role == 3) {
+      recheck_channel_modes(chan);
+    }
   }
 }