diff options
-rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 190ade6be..fdc36d26c 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -306,7 +306,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) bool do_more = true; if (!user->ExemptFromPenalty) { - user->Penalty += cm->second->Penalty; + user->IncreasePenalty(cm->second->Penalty); ServerInstance->Log(DEBUG,"Penalty for %s is now incremented to %d (%d added on)", user->nick, user->Penalty, cm->second->Penalty); do_more = (user->Penalty < 10); if (!do_more) |