From 57e27d97fa28e30de04a1db2c33bb3286f0fe1d5 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 18:02:11 +0000 Subject: Fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 5847e6054..529946220 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -328,17 +328,7 @@ 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;*/ - } + s->MarkAsClosed(); } } -- cgit v1.2.3