diff options
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index bea4c2803..67065bd62 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -195,9 +195,7 @@ class IdentRequestSocket : public EventHandler if (GetFd() > -1) { ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Close ident socket %d", GetFd()); - SocketEngine::DelFd(this); - SocketEngine::Close(GetFd()); - this->SetFd(-1); + SocketEngine::Close(this); } } |