summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_admin.c6
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;
}
}