summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 18:02:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 18:02:11 +0000
commit57e27d97fa28e30de04a1db2c33bb3286f0fe1d5 (patch)
treef292c9ae517f1f5edeb86258a17c1e2138f8589f /src/modules.cpp
parentb00a72d3aafb3a2dd5edbc388b06ffc2ff5540d4 (diff)
Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp12
1 files changed, 1 insertions, 11 deletions
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();
}
}