summaryrefslogtreecommitdiff
path: root/src/commands/cmd_user.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-19 17:47:03 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-19 17:47:03 +0100
commit54ecd7ff910408015d395c5c737fb48dfb9d7a0a (patch)
treee528150b2ef9507c8a913b38b8ecc5999ec17e11 /src/commands/cmd_user.cpp
parent17b4151bff2edcec3f3524cc60e536407c70cec6 (diff)
parent80350a67aa7d45e5068f46b8995be92b0d9b40aa (diff)
Merge branch 'insp20+penalty' into insp20
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;
}