aboutsummaryrefslogtreecommitdiffstats
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index bb44825d4..2f1583768 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -34,7 +34,7 @@ void InspIRCd::DoBackgroundUserStuff()
if (curr->quitting)
continue;
- if (curr->CommandFloodPenalty)
+ if (curr->CommandFloodPenalty || curr->eh.getSendQSize())
{
unsigned int rate = curr->MyClass->commandrate;
if (curr->CommandFloodPenalty > rate)