From b3ea96554e5334c27030c14b72ea1c69c253bde0 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 19 May 2008 18:05:57 +0000 Subject: 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 --- src/commands/cmd_nick.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/commands/cmd_nick.cpp') 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& 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 */ -- cgit v1.2.3