diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 10:10:46 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 10:10:46 +0000 |
commit | 2df1a3de458cbc1727f35dbe8b0bb949d2485db8 (patch) | |
tree | 10c2b7737b139a0383661bb4eb7da01742ce99bc /src/userprocess.cpp | |
parent | 84235673df58bb199622c67bbead02d91f953838 (diff) |
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
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 3 |
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--; |