summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands/cmd_nick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp
index f3420293f..19a441460 100644
--- a/src/commands/cmd_nick.cpp
+++ b/src/commands/cmd_nick.cpp
@@ -152,7 +152,7 @@ CmdResult CommandNick::Handle (const char* const* parameters, int, User *user)
if (MOD_RESULT > 0)
return CMD_FAILURE;
}
- else if (user->registered == REG_ALL)
+ if (user->registered == REG_ALL)
{
user->IncreasePenalty(10);
FOREACH_MOD(I_OnUserPostNick,OnUserPostNick(user,oldnick));