summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_nick.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp
index 8a8dbb6dd..a83d0d800 100644
--- a/src/commands/cmd_nick.cpp
+++ b/src/commands/cmd_nick.cpp
@@ -149,11 +149,8 @@ CmdResult CommandNick::Handle (const std::vector<std::string>& parameters, User
/* actually change the nick within the record */
if (!user)
return CMD_FAILURE;
- if (!user->nick.empty())
- return CMD_FAILURE;
user->nick.assign(parameters[0], 0, NICKMAX - 1);
-
user->InvalidateCache();
/* Update display nicks */