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:
Spoike 2008-01-08 19:36:30 +00:00
parent 8e31e97f60
commit bd6e6cb2b8

View file

@ -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");