瀏覽代碼

Enforce 'chanmode' minutely (#48)

Bryan Drewery 14 年之前
父節點
當前提交
abfd6010bb
共有 1 個文件被更改,包括 4 次插入0 次删除
  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);
+    }
   }
 }