浏览代码

svn: 1179

Bryan Drewery 22 年之前
父节点
当前提交
20146cc82c
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      src/mod/channels.mod/channels.c

+ 3 - 4
src/mod/channels.mod/channels.c

@@ -940,19 +940,18 @@ void channels_init()
 #ifdef LEAF
   timer_create_secs(60, "check_limitraise", (Function) check_limitraise);
 #endif /* LEAF */
-#ifdef HUB
-  timer_create_secs(30, "rebalance_roles", (Function) rebalance_roles);
-#endif /* HUB */
   timer_create_secs(60, "check_expired_bans", (Function) check_expired_bans);
   timer_create_secs(60, "check_expired_exempts", (Function) check_expired_exempts);
   timer_create_secs(60, "check_expired_invites", (Function) check_expired_invites);
-  timer_create_secs(10, "channels_10secondly", (Function) channels_10secondly);
 #ifdef HUB
+  timer_create_secs(30, "rebalance_roles", (Function) rebalance_roles);
   timer_create_secs(30, "check_should_close", (Function) check_should_close);
 #ifdef G_BACKUP
   timer_create_secs(30, "check_should_backup", (Function) check_should_backup);
 #endif /* G_BACKUP */
 #endif /* HUB */
+  timer_create_secs(10, "channels_10secondly", (Function) channels_10secondly);
+
 
   add_builtins("dcc", C_dcc_irc);
   add_builtins("bot", channels_bot);