summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd_nick.cpp2
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;