diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_ident.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index d93b0e459..f08f8c868 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -133,7 +133,10 @@ class IdentRequestSocket : public EventHandler socklen_t raddrsz = sizeof(raddr); if ((getsockname(user->GetFd(), (sockaddr*) &laddr, &laddrsz) != 0) || (getpeername(user->GetFd(), (sockaddr*) &raddr, &raddrsz) != 0)) + { + done = true; return; + } char req[32]; |