Bläddra i källkod

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

svn: 2254
Bryan Drewery 21 år sedan
förälder
incheckning
f44ae6eda1
2 ändrade filer med 4 tillägg och 0 borttagningar
  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(); */
 }