diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-13 22:15:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-13 22:15:00 +0000 |
commit | a6d1638ff6e976eea7332ab89b925b4a0428d3b1 (patch) | |
tree | 296aed4df97e485a4cdfac079a965d7b1ee946b1 /src | |
parent | e545adc628ea579801955124dbc1fd8567cb6623 (diff) |
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7
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; } }; |