From 8c71220d4a1f17d9e7b522f5c80cb04e8d3ed103 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sun, 5 Sep 2010 17:01:49 -0400 Subject: Fix the pseudo-penalty hack that doesn't work properly --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userprocess.cpp') 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) -- cgit v1.3.1-10-gc9f91