diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_ident.cpp | 4 |
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; } }; |