diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 17:53:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 17:53:53 +0000 |
commit | b00a72d3aafb3a2dd5edbc388b06ffc2ff5540d4 (patch) | |
tree | 288bcc49c7ed8c35c21326c82cb10ae6c59fd9cf /src/modules.cpp | |
parent | ba1d557ee3e1380f5b94f3d6c2aea0984d823213 (diff) |
Forceuy close fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3668 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 827604cfa..5847e6054 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -329,12 +329,15 @@ void Server::RemoveSocket(InspSocket* sock) InspSocket* s = (InspSocket*)*a; if (s == sock) { + s->Close(); + /* log(DEBUG,"Forcibly removed socket"); ServerInstance->SE->DelFd(s->GetFd()); + log(DEBUG,"Delete Fd from socket engine"); s->Close(); module_sockets.erase(a); delete s; - return; + return;*/ } } } |