diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-28 22:16:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-28 22:16:15 +0000 |
commit | 194365ecfb90e1790e8fba6b96f49ec30daa7d81 (patch) | |
tree | 90c38a2eaf845bf7f744fd7bc75ec2c30a0428d5 /src/cmd_nick.cpp | |
parent | 58a5cf7e3929d2d9fe785faebdf96597f74f5bec (diff) |
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
Diffstat (limited to 'src/cmd_nick.cpp')
-rw-r--r-- | src/cmd_nick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |