From 92082126b6672cf705b99d2bb402930716e9e423 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Fri, 15 Apr 2011 22:52:04 +0000 Subject: * kick reasons weren't being logged --- src/game/g_admin.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 730f5449..a979a774 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1574,8 +1574,11 @@ qboolean G_admin_kick( gentity_t *ent ) ADMP( "^3kick: ^7disconnecting the host would end the game\n" ); return qfalse; } - admin_log( va( "%d (%s) \"%s" S_COLOR_WHITE "\"", pid, vic->client->pers.guid, - vic->client->pers.netname ) ); + admin_log( va( "%d (%s) \"%s" S_COLOR_WHITE "\": \"%s" S_COLOR_WHITE "\"", + pid, + vic->client->pers.guid, + vic->client->pers.netname, + reason ) ); admin_create_ban( ent, vic->client->pers.netname, vic->client->pers.guid, -- cgit