mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
More meaningful name for unnamed clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2843 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8e31e97f60
commit
bd6e6cb2b8
1 changed files with 2 additions and 2 deletions
|
@ -1750,7 +1750,7 @@ client_t *SVC_DirectConnect(void)
|
||||||
|
|
||||||
if (!*name)
|
if (!*name)
|
||||||
{
|
{
|
||||||
name = "Hidden";
|
name = "unnamed";
|
||||||
}
|
}
|
||||||
else if (!stricmp(name, "console"))
|
else if (!stricmp(name, "console"))
|
||||||
name = "Not Console"; //have fun dudes.
|
name = "Not Console"; //have fun dudes.
|
||||||
|
@ -3723,7 +3723,7 @@ void SV_ExtractFromUserinfo (client_t *cl)
|
||||||
newname[0] = 0;
|
newname[0] = 0;
|
||||||
|
|
||||||
if (!newname[0] && cl->protocol != SCP_BAD)
|
if (!newname[0] && cl->protocol != SCP_BAD)
|
||||||
strcpy(newname, "Hidden");
|
strcpy(newname, "unnamed");
|
||||||
else if (!stricmp(val, "console"))
|
else if (!stricmp(val, "console"))
|
||||||
{
|
{
|
||||||
strcpy(newname, "Not Console");
|
strcpy(newname, "Not Console");
|
||||||
|
|
Loading…
Reference in a new issue