summaryrefslogtreecommitdiffstats
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2010-03-02 03:23:18 +0000
committerGravatar Daniel De Graaf2010-08-03 17:32:38 -0400
commit5401cc3c46ec9beacef2640ea10291bfa0d019cb (patch)
tree58c3b3e9c17e68b3db5235fdac0c51ac8426b060 /src/modules/m_ident.cpp
parentDelFd should not fail, it will leave a bad dangling pointer in that case (diff)
downloadinspircd++-5401cc3c46ec9beacef2640ea10291bfa0d019cb.tar.gz
inspircd++-5401cc3c46ec9beacef2640ea10291bfa0d019cb.tar.bz2
inspircd++-5401cc3c46ec9beacef2640ea10291bfa0d019cb.zip
Fix some more incorrect socket use
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 9f4ca2fef..734dac944 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -189,7 +189,6 @@ class IdentRequestSocket : public EventHandler
ServerInstance->Logs->Log("m_ident",DEBUG,"Close ident socket %d", GetFd());
ServerInstance->SE->DelFd(this);
ServerInstance->SE->Close(GetFd());
- ServerInstance->SE->Shutdown(GetFd(), SHUT_WR);
this->SetFd(-1);
}
}