summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-09-05 17:01:49 -0400
committerGravatar Daniel De Graaf2010-09-05 17:01:49 -0400
commit8c71220d4a1f17d9e7b522f5c80cb04e8d3ed103 (patch)
tree5b7012a2d751d3cd8490706366dea103e9af1348 /src/userprocess.cpp
parentA bit of cleanup (diff)
Fix the pseudo-penalty hack that doesn't work properly
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)