diff options
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index eb5ea050c..d2c481fbb 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -26,10 +26,11 @@ void FloodQuitUserHandler::Call(User* current) current->registered == REG_ALL ? current->nick : "", current->registered == REG_ALL ? "!" : "", current->ident, current->host); User::QuitUser(Server, current, "Excess flood"); + if (current->registered != REG_ALL) { Server->XLines->add_zline(120, Server->Config->ServerName, "Flood from unregistered connection", current->GetIPString()); - Server->XLines->apply_lines(APPLY_ZLINES); + Server->XLines->apply_lines(); } } |