瀏覽代碼

* '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(); */
 }