summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 1dad4acd..d8858de9 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1070,8 +1070,10 @@ void ClientUserinfoChanged( int clientNum )
{
trap_SendServerCommand( -1, va( "print \"%s" S_COLOR_WHITE
" renamed to %s" S_COLOR_WHITE "\n\"", oldname, client->pers.netname ) );
- G_LogPrintf( "ClientRename: %i [%s] (%s) \"%s^7\" -> \"%s^7\"\n", clientNum,
- client->pers.ip, client->pers.guid, oldname, client->pers.netname );
+ G_LogPrintf( "ClientRename: %i [%s] (%s) \"%s^7\" -> \"%s^7\" \"%c%s%c^7\"\n",
+ clientNum, client->pers.ip, client->pers.guid,
+ oldname, client->pers.netname,
+ DECOLOR_OFF, client->pers.netname, DECOLOR_ON );
G_admin_namelog_update( client, qfalse );
}
}
@@ -1276,8 +1278,10 @@ char *ClientConnect( int clientNum, qboolean firstTime )
// get and distribute relevent paramters
ClientUserinfoChanged( clientNum );
- G_LogPrintf( "ClientConnect: %i [%s] (%s) \"%s^7\"\n", clientNum,
- client->pers.ip, client->pers.guid, client->pers.netname );
+ G_LogPrintf( "ClientConnect: %i [%s] (%s) \"%s^7\" \"%c%s%c^7\"\n",
+ clientNum, client->pers.ip, client->pers.guid,
+ client->pers.netname,
+ DECOLOR_OFF, client->pers.netname, DECOLOR_ON );
// don't do the "xxx connected" messages if they were caried over from previous level
if( firstTime )