* rebind-ip-fixes: * Update docs * Fix DNS/Server sockets getting stuck when its socket was closed via fatal()
@@ -2,6 +2,7 @@
* Properly honor exemptions when kicking matched RBL clients
* Fixed parsing errors in .chanset
* Only global +n can use .chanset * now
+* Fix problems with changing IP
1.3 - http://wraith.botpack.net/milestone/1.3
* Binary / shell / startup changes
@@ -590,6 +590,11 @@ lostdcc(int n)
if (n == uplink_idx)
uplink_idx = -1;
+ else if (n == dns_idx)
+ dns_idx = -1;
+ else if (n == servidx)
+ servidx = -1;
+
if (dcc[n].type && dcc[n].type->kill)
dcc[n].type->kill(n, dcc[n].u.other);