summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-13 22:15:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-13 22:15:00 +0000
commita6d1638ff6e976eea7332ab89b925b4a0428d3b1 (patch)
tree296aed4df97e485a4cdfac079a965d7b1ee946b1 /src/modules
parente545adc628ea579801955124dbc1fd8567cb6623 (diff)
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ident.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 709cf67a4..eb1959c86 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -57,6 +57,7 @@ class IdentRequestSocket : public InspSocket
if ((getsockname(user->GetFd(), (sockaddr*) &laddr, &laddrsz) != 0) || (getpeername(user->GetFd(), (sockaddr*) &raddr, &raddrsz) != 0))
{
// Error
+ user->Shrink("ident_socket");
return false;
}
@@ -164,7 +165,8 @@ class IdentRequestSocket : public InspSocket
break;
}
-
+
+ user->Shrink("ident_socket");
return false;
}
};