From a6d1638ff6e976eea7332ab89b925b4a0428d3b1 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 13 Oct 2007 22:15:00 +0000 Subject: Tweaks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } }; -- cgit v1.2.3