diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-06 16:41:54 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:41 +0000 |
commit | 8403ee2a4fceb9dbb632d6837fd3c40a55f62019 (patch) | |
tree | 6f8d421f462e2de8c358d451d816b1fa23d3b7d6 /src/game/g_admin.c | |
parent | a6acce827289ae15e8cddff1cafd083099ac28b5 (diff) |
* Print a slightly better message when a banned player tries to connect
and use the correct variable this time (thanks Ensiform)
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; } } |