summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands/cmd_nick.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp
index 06fc5dcc3..8aa9e19a7 100644
--- a/src/commands/cmd_nick.cpp
+++ b/src/commands/cmd_nick.cpp
@@ -154,6 +154,7 @@ CmdResult CommandNick::Handle (const char** parameters, int, User *user)
}
else if (user->registered == REG_ALL)
{
+ user->IncreasePenalty(10);
FOREACH_MOD(I_OnUserPostNick,OnUserPostNick(user,oldnick));
}