diff options
| author | 2010-09-05 17:01:49 -0400 | |
|---|---|---|
| committer | 2010-09-05 17:01:49 -0400 | |
| commit | 8c71220d4a1f17d9e7b522f5c80cb04e8d3ed103 (patch) | |
| tree | 5b7012a2d751d3cd8490706366dea103e9af1348 /src/userprocess.cpp | |
| parent | A 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.cpp | 2 |
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) |
