소스 검색

* 'localhub's now check minutely if their bots need added or hosts added to userlist.

svn: 2254
Bryan Drewery 21 년 전
부모
커밋
f44ae6eda1
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/UPDATES
  2. 3 0
      src/main.c

+ 1 - 0
doc/UPDATES

@@ -14,6 +14,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 1.2.5
 * Fixed spaces being stripped in .botcmd reply.
 * Changed order of 'rehashed config data from binary' notice to appear before any bot/userfile changes.
+* 'localhub's now check minutely if their bots need added or hosts added to userlist.
 
 1.2.4
 * Fixed cmd_botset not displaying botnick.

+ 3 - 0
src/main.c

@@ -526,6 +526,9 @@ static void core_minutely()
   check_bind_time(&nowtm);
   if (dcc_autoaway)
     check_autoaway();
+
+  if (conf.bot->localhub)
+    conf_add_userlist_bots();
 /*     flushlogs(); */
 }