summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2011-04-15 22:52:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:05 +0000
commit92082126b6672cf705b99d2bb402930716e9e423 (patch)
tree148ab3c4b07b215e15cf6bee166bf4089a893b96 /src/game
parentd129834d37592d8ae95a7e4f3a2e3bfc47c11851 (diff)
* kick reasons weren't being logged
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_admin.c7
1 files 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,