Sfoglia il codice sorgente

fixup! Bot linking: Try each IP returned from DNS.

Bryan Drewery 5 mesi fa
parent
commit
3eb0c5a4a3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/botnet.cc

+ 2 - 0
src/botnet.cc

@@ -1177,6 +1177,8 @@ retries_exhausted:
   dcc[i].addr = inet_addr(ip_from_dns.c_str());
   strlcpy(dcc[i].host, ip_from_dns.c_str(), sizeof(dcc[i].host));
 
+  putlog(LOG_BOTS, "*", "Linking to %s at %s (%s) ...", dcc[i].nick,
+      dcc[i].host, ip_from_dns.c_str());
   botlink_real(i);
 }