summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 2caa9b25a..f3420293f 100644
--- a/src/commands/cmd_nick.cpp
+++ b/src/commands/cmd_nick.cpp
@@ -144,7 +144,7 @@ CmdResult CommandNick::Handle (const char* const* parameters, int, User *user)
{
user->registered = (user->registered | REG_NICK);
}
- else if (user->registered == REG_NICKUSER)
+ if (user->registered == REG_NICKUSER)
{
/* user is registered now, bit 0 = USER command, bit 1 = sent a NICK command */
MOD_RESULT = 0;