summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 18:05:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 18:05:57 +0000
commitb3ea96554e5334c27030c14b72ea1c69c253bde0 (patch)
tree8526f034c156f647578d6d7892c435e2cbf4bb8d
parentdf56d4697a529607a07e30158a7b43b277724870 (diff)
Fix users being unable to register (aquanight, what the fuck were you smoking? :p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9765 e03df62e-2008-0410-955e-edbf42e46eb7
-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 */