From 6010e6b53c8f0b89718f8c883f701dcf70246660 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 ee9c75bc0..2792a28dc 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -55,7 +55,7 @@ void InspIRCd::DoBackgroundUserStuff() if (curr->quitting) continue; - if (curr->CommandFloodPenalty) + if (curr->CommandFloodPenalty || curr->eh.getSendQSize()) { unsigned int rate = curr->MyClass->GetCommandRate(); if (curr->CommandFloodPenalty > rate) -- cgit v1.2.3