aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-16 15:39:18 +0000
committerGravatar brain2006-07-16 15:39:18 +0000
commit9d0914b8b617f2b384820ba1c71da7b9f01d72be (patch)
treeb47ebd6d41565a355e84d3549a5969e67a0bb0ec /src/users.cpp
parentUpdate m_antibear to use a different hook for ADDED goodness. (diff)
Remove a non-essential function call
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4416 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 6038b6cd7..0127f9b83 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -459,7 +459,8 @@ 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);
+ /* XXX: Not required here, previous fix ensures dns is closed - brain*/
+ /*ZapThisDns(user->fd);*/
Write(user->fd,"ERROR :Closing link (%s@%s) [%s]",user->ident,user->host,reason);
}