diff options
-rw-r--r-- | src/cmd_nick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 2725f1a3c..05a66cbfc 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -34,8 +34,8 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) if (!*parameters[0] || !*user->nick) { - /* We cant put blanks in the parameters, so for this (extremely rare) issue we just put '* *' here. */ - user->WriteServ("432 * * :Erroneous Nickname"); + /* We cant put blanks in the parameters, so for this (extremely rare) issue we just put '*' here. */ + user->WriteServ("432 %s * :Erroneous Nickname", *user->nick ? user->nick : "*"); return CMD_FAILURE; } |