summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-19 01:35:11 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-19 01:35:11 +0000
commit95a3d0c0801b9f15b62f793de9014c6dce450d8a (patch)
treee20cae322c8868ccc19a548e64f3c8d48ef4b1b2 /src
parentaaf49d58022cdda23feb81a0f005500f01da9e4a (diff)
And one more tweak to this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9137 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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));