aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar peavey2007-07-23 23:12:48 +0000
committerGravatar peavey2007-07-23 23:12:48 +0000
commitfd9e6325872c7a4a658d54bf2116604ae0a4e443 (patch)
treedcfe1ca905e6faf36c18721a570d77330f9b28d7 /src/inspircd.cpp
parentBlock r7526 (diff)
Merge r7528-7529 from trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp5
1 files changed, 5 insertions, 0 deletions
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<InspSocket*,InspSocket*>::iterator x = SocketCull.begin(); x != SocketCull.end(); ++x)
{
SE->DelFd(x->second);