diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-19 17:58:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-19 17:58:10 +0000 |
commit | 0ddb3780af1876f17ffbf0a7b56c3eedeff5479c (patch) | |
tree | 1f3dd126936ac50cae9ea891a96f7aba04231625 /src/cmd_nick.cpp | |
parent | ae2d82d01260878ad71ce653f3aab3dcc0d5c81b (diff) |
As suggested (and coded) by w00t, show * as the nick when we havent set one yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6397 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 3cfebea2b..64b1a4666 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -75,7 +75,7 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) } else { - user->WriteServ("433 %s %s :Nickname is already in use.",user->nick,parameters[0]); + user->WriteServ("433 %s %s :Nickname is already in use.", user->registered >= REG_NICK ? user->nick : "*", parameters[0]); return CMD_FAILURE; } } |