aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-02-09 17:17:04 +0100
committerGravatar Attila Molnar2014-02-09 17:17:04 +0100
commit4ec65c6231df9fcb38210f9b885cdf73b72cc176 (patch)
tree97bb3a6c46634b2b00c3edaacdb86867a5023423 /src/modules/m_ident.cpp
parentQueue changes in socketengine_kqueue and submit them as we poll for new events (diff)
downloadinspircd++-4ec65c6231df9fcb38210f9b885cdf73b72cc176.tar.gz
inspircd++-4ec65c6231df9fcb38210f9b885cdf73b72cc176.tar.bz2
inspircd++-4ec65c6231df9fcb38210f9b885cdf73b72cc176.zip
Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp4
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);
}
}