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/users.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/users.cpp') 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"); } -- cgit v1.2.3