From fc7eba500a05eaf51a0f72d6ca1e91085698b38a Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 1 Dec 2008 18:10:22 +0000 Subject: Remove OverPenalty, saves sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index b179622aa..1f6eac6e9 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -131,7 +131,7 @@ void ProcessUserHandler::Call(User* cu) } /* If user is over penalty, dont process here, just build up */ - if (!current->OverPenalty) + if (!curr->Penalty < 10) Server->Parser->DoLines(current); return; @@ -180,12 +180,6 @@ void InspIRCd::DoBackgroundUserStuff() Parser->DoLines(curr, true); } - if (curr->OverPenalty) - { - if (curr->sendq.empty()) - curr->OverPenalty = false; - } - switch (curr->registered) { case REG_ALL: -- cgit v1.2.3