Ver código fonte

Enforce 'chanmode' minutely (#48)

Bryan Drewery 14 anos atrás
pai
commit
abfd6010bb
1 arquivos alterados com 4 adições e 0 exclusões
  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);
+    }
   }
 }