summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp8
1 files changed, 1 insertions, 7 deletions
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: