From 2df1a3de458cbc1727f35dbe8b0bb949d2485db8 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 19 May 2008 10:10:46 +0000 Subject: Don't background process quitting users (there's no point), half fixes Jason's issue.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9761 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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--; -- cgit v1.2.3