aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-09-05 17:01:49 -0400
committerGravatar Daniel De Graaf2010-09-05 17:03:07 -0400
commit6010e6b53c8f0b89718f8c883f701dcf70246660 (patch)
treeb6c3850fb3d54368c7db75449e3cccfc075781df /src/users.cpp
parent2.0.2 release (diff)
downloadinspircd++-6010e6b53c8f0b89718f8c883f701dcf70246660.tar.gz
inspircd++-6010e6b53c8f0b89718f8c883f701dcf70246660.tar.bz2
inspircd++-6010e6b53c8f0b89718f8c883f701dcf70246660.zip
Fix the pseudo-penalty hack that doesn't work properly
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 2bd96ac90..5ff890fd7 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -513,9 +513,6 @@ eol_found:
if (user->quitting)
return;
}
- // Add pseudo-penalty so that we continue processing after sendq recedes
- if (user->CommandFloodPenalty == 0 && getSendQSize() >= sendqmax)
- user->CommandFloodPenalty++;
if (user->CommandFloodPenalty >= penaltymax && !user->MyClass->fakelag)
ServerInstance->Users->QuitUser(user, "Excess Flood");
}