From 2b4af06e1ca7ea3ee462f4d2462a377f166dc952 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 9 Mar 2006 20:35:49 +0000 Subject: Delete unknown sockets on sight git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3603 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ea035e7b0..9b48d83ef 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -773,7 +773,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) } catch (ModuleException& modexcept) { - log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ + log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); } } stats->statsAccept++; @@ -795,6 +795,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) * what we would do, so for now, its going * to safely do bugger all. */ + SE->DelFd(activefds[activefd]); break; } } -- cgit v1.3.1-10-gc9f91