소스 검색

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);