Skip to content

Commit

Permalink
As suggested (and coded) by w00t, show * as the nick when we havent s…
Browse files Browse the repository at this point in the history
…et one yet

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6397 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Jan 19, 2007
1 parent ae2d82d commit 0ddb378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_nick.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0ddb378

Please sign in to comment.