From 194365ecfb90e1790e8fba6b96f49ec30daa7d81 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 28 Jul 2006 22:16:15 +0000 Subject: Allow invalid nicks from remote users in NICK (we'll need this soon for UID nick collision handling) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4584 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_nick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_nick.cpp') diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index c13040af5..f977deddd 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -103,7 +103,7 @@ void cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) return; } } - if (isnick(parameters[0]) == 0) + if ((isnick(parameters[0]) == 0) && (IS_lOCAL(user))) { WriteServ(user->fd,"432 %s %s :Erroneous Nickname",user->nick,parameters[0]); return; -- cgit v1.2.3