diff options
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;*/ } } } |