From 8403ee2a4fceb9dbb632d6837fd3c40a55f62019 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Tue, 6 Oct 2009 16:41:54 +0000 Subject: * Print a slightly better message when a banned player tries to connect and use the correct variable this time (thanks Ensiform) --- src/game/g_admin.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/game/g_admin.c') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 0452558a..e0b3be96 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -835,7 +835,11 @@ qboolean G_admin_ban_check( gentity_t *ent, char *reason, int rlen ) g_admin_bans[ i ]->reason, duration ); - G_Printf( "%s matches ban #%d\n", ip, i + 1 ); + G_Printf( S_COLOR_YELLOW "%s" S_COLOR_YELLOW " tried to connect from %s " + "(ban #%d)\n", + g_admin_bans[ i ]->name, + ent->client->pers.ip, + i + 1 ); return qtrue; } } -- cgit