From fd9e6325872c7a4a658d54bf2116604ae0a4e443 Mon Sep 17 00:00:00 2001 From: peavey Date: Mon, 23 Jul 2007 23:12:48 +0000 Subject: Merge r7528-7529 from trunk git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 858862e9d..0e72fbe3c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1123,6 +1123,11 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) GlobalCulls.Apply(); /* If any inspsockets closed, remove them */ + this->InspSocketCull(); +} + +void InspIRCd::InspSocketCull() +{ for (std::map::iterator x = SocketCull.begin(); x != SocketCull.end(); ++x) { SE->DelFd(x->second); -- cgit v1.3.1-10-gc9f91