Răsfoiți Sursa

* Ported [2769] to 1.2.10
* Fixed leaf bots sending color to hub bots still. (fixes #161)


svn: 2770

Bryan Drewery 20 ani în urmă
părinte
comite
9dff912678
2 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 1 0
      doc/UPDATES
  2. 1 0
      src/botnet.c

+ 1 - 0
doc/UPDATES

@@ -18,6 +18,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Revised help listing for 'auth-chan' in 'help set'. (fixes #229)
 * Fixed an invalid socket warning with failed relay. (fixes #216)
 * Fixed a potential dns socket leak. (might fix #230)
+* Fixed leaf bots sending color to hub bots still. (fixes #161)
 
 1.2.9
 * Fixed cmd_[un]stick not properly using numbers for channel masks. (#160)

+ 1 - 0
src/botnet.c

@@ -999,6 +999,7 @@ int botlink(char *linker, int idx, char *nick)
       strcpy(dcc[i].host, bi->address);
       dcc[i].u.dns->cptr = strdup(linker);
       dcc[i].u.dns->ibuf = idx;
+      dcc[i].bot = 1;
 
       int dns_id = egg_dns_lookup(bi->address, 20, botlink_dns_callback, (void *) i);
       if (dns_id >= 0)