diff options
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r-- | src/game/g_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index 0bf70230..2ac76c73 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1061,8 +1061,8 @@ char *ClientUserinfoChanged( int clientNum, qboolean forceName ) } else { - Q_strncpyz( client->pers.netname, newname, - sizeof( client->pers.netname ) ); + G_CensorString( client->pers.netname, newname, + sizeof( client->pers.netname ), ent ); if( !forceName && client->pers.connected == CON_CONNECTED ) { client->pers.namelog->nameChangeTime = level.time; |