Ver código fonte

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

Bryan Drewery 5 meses atrás
pai
commit
3eb0c5a4a3
1 arquivos alterados com 2 adições e 0 exclusões
  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);
 }