diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/userprocess.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 41c5ae4cd..68c469aac 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -163,15 +163,16 @@ void InspIRCd::DoBackgroundUserStuff() User *curr = *count2; if (curr->Penalty) + { curr->Penalty--; + if (curr->Penalty < 10) + Parser->DoLines(curr, true); + } if (curr->OverPenalty) { if (curr->sendq.empty()) curr->OverPenalty = false; - - if (curr->Penalty < 10) - Parser->DoLines(curr, true); } if ((curr->registered != REG_ALL) && (TIME > curr->timeout)) |