aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-16 14:06:17 +0000
committerGravatar brain2006-07-16 14:06:17 +0000
commit65fd7ee13e584090f3d1ed460ffa9109b10ec3d3 (patch)
tree295f62772e0f9be6529b5aefdc617a6871789612 /src/users.cpp
parentMore dns leak fixes (diff)
More stuff
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4408 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 264aea270..641597b27 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -457,7 +457,10 @@ void kill_link(userrec *user,const char* r)
log(DEBUG,"kill_link: %s fd=%d '%s'",user->nick,user->fd,reason);
if (IS_LOCAL(user))
+ {
+ ZapThisDns(user->fd);
Write(user->fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,reason);
+ }
if (user->registered == 7) {
purge_empty_chans(user);