summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/userprocess.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index cf1fd86c1..11fcfa59c 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -171,6 +171,9 @@ void InspIRCd::DoBackgroundUserStuff()
{
User *curr = *count2;
+ if (curr->quitting)
+ continue;
+
if (curr->Penalty)
{
curr->Penalty--;