mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
Make sure the message gets to the client.
This commit is contained in:
parent
98a8db2f0e
commit
e65c1bd7e1
1 changed files with 2 additions and 0 deletions
|
@ -1810,6 +1810,8 @@ SV_ExtractFromUserinfo (client_t *cl)
|
|||
// being too long), drop the client to prevent an infinite
|
||||
// loop.
|
||||
if(strcmp(val, newname)) {
|
||||
Netchan_OutOfBandPrint (net_from,
|
||||
"%c\nPlease choose a different name.\n", A2C_PRINT);
|
||||
SV_ClientPrintf (cl, PRINT_HIGH,
|
||||
"Please choose a different name.\n");
|
||||
Con_Printf("Client %d kicked for invalid name\n", cl->userid);
|
||||
|
|
Loading…
Reference in a new issue