From 08e490f7066b62383983a17f5404a732dfff3870 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Oct 2007 18:22:03 +0000 Subject: Yay fixed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8226 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_ident.cpp') 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); } } -- cgit v1.2.3