projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
list.c
diff --git
a/ircd/list.c
b/ircd/list.c
index 275062ee331ff421789aedb69b789f2cf5b4cdcd..fb86192e2b9ea85bd776038586eefcdec9f646f3 100644
(file)
--- a/
ircd/list.c
+++ b/
ircd/list.c
@@
-126,8
+126,10
@@
void free_client(struct Client *cptr)
*/
if (cptr->dns_reply)
--cptr->dns_reply->ref_count;
- if (-1 < cptr->fd)
+ if (-1 < cptr->fd) {
+ ip_registry_local_disconnect(cptr);
close(cptr->fd);
+ }
DBufClear(&cptr->sendQ);
DBufClear(&cptr->recvQ);
if (cptr->listener)