Browse Source

Enforce 'chanmode' minutely (#48)

Bryan Drewery 14 years ago
parent
commit
abfd6010bb
1 changed files with 4 additions and 0 deletions
  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);
+    }
   }
 }