diff options
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 723b30c87..fc663c714 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -175,9 +175,10 @@ class IdentRequestSocket : public EventHandler { if (GetFd() > -1) { + ServerInstance->Log(DEBUG,"Close ident socket %d", GetFd()); + ServerInstance->SE->DelFd(this); ServerInstance->SE->Close(GetFd()); ServerInstance->SE->Shutdown(GetFd(), SHUT_WR); - ServerInstance->SE->DelFd(this); this->SetFd(-1); } } |