summaryrefslogtreecommitdiff
path: root/src/commands/cmd_user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_user.cpp')
-rw-r--r--src/commands/cmd_user.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/cmd_user.cpp b/src/commands/cmd_user.cpp
index 305d0847f..09e1e3319 100644
--- a/src/commands/cmd_user.cpp
+++ b/src/commands/cmd_user.cpp
@@ -68,6 +68,7 @@ CmdResult CommandUser::HandleLocal(const std::vector<std::string>& parameters, L
}
else
{
+ user->CommandFloodPenalty += 1000;
user->WriteNumeric(462, "%s :You may not reregister", user->nick.c_str());
return CMD_FAILURE;
}