From 3fd4159c3598b8ec6dbd1b6cfe43a50089a54449 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Sun, 14 Mar 2010 02:41:57 +0000 Subject: * (bug 4561) Color is leaked in namelog (adressedeoops@gmail.com) --- src/game/g_admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index e0f65d94..37253051 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2755,7 +2755,7 @@ qboolean G_admin_namelog( gentity_t *ent ) for( i = 0; i < MAX_NAMELOG_ADDRS && n->ip[ i ].str[ 0 ]; i++ ) ADMBP( va( " %s", n->ip[ i ].str ) ); for( i = 0; i < MAX_NAMELOG_NAMES && n->name[ i ][ 0 ]; i++ ) - ADMBP( va( " '%s^7'", n->name[ i ] ) ); + ADMBP( va( S_COLOR_WHITE " '%s" S_COLOR_WHITE "'", n->name[ i ] ) ); ADMBP( "\n" ); } ADMBP( va( "^3namelog:^7 %d recent clients found\n", printed ) ); -- cgit