summaryrefslogtreecommitdiff
path: root/src/threadengines
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-12 15:38:07 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-12 15:38:07 +0000
commit6d5a6aeeabfc976bd0e5aff7f9445982774275ab (patch)
tree58bad9de8b056b878f00f1d299939a0f7e92113e /src/threadengines
parent0f87ad0d4b97874823c94a5168a06dcd444ad559 (diff)
Fix double-cull of users quitting due to connection error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12105 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/threadengines')
-rw-r--r--src/threadengines/threadengine_pthread.cpp2
-rw-r--r--src/threadengines/threadengine_win32.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp
index 59ab8f402..08a19a749 100644
--- a/src/threadengines/threadengine_pthread.cpp
+++ b/src/threadengines/threadengine_pthread.cpp
@@ -84,6 +84,7 @@ class ThreadSignalSocket : public BufferedSocket
void OnError(BufferedSocketError)
{
+ ServerInstance->GlobalCulls.AddItem(this);
}
};
@@ -123,6 +124,7 @@ class ThreadSignalSocket : public BufferedSocket
void OnError(BufferedSocketError)
{
+ ServerInstance->GlobalCulls.AddItem(this);
}
};
diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp
index 532f50f55..cbdcdf3af 100644
--- a/src/threadengines/threadengine_win32.cpp
+++ b/src/threadengines/threadengine_win32.cpp
@@ -68,6 +68,7 @@ class ThreadSignalSocket : public BufferedSocket
void OnError(BufferedSocketError)
{
+ ServerInstance->GlobalCulls.AddItem(this);
}
};