summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2010-03-14 02:41:57 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:30 +0000
commit3fd4159c3598b8ec6dbd1b6cfe43a50089a54449 (patch)
tree8bc43202e4df32ff9b7a4cb71c1ea14b53f2e997 /src/game
parentbc4f6d8cb65f32a045afc0e39f983492ceb187e9 (diff)
* (bug 4561) Color is leaked in namelog (adressedeoops@gmail.com)
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
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 ) );