diff options
author | M. Kristall <mkpdev@gmail.com> | 2011-04-15 22:52:04 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:05 +0000 |
commit | 92082126b6672cf705b99d2bb402930716e9e423 (patch) | |
tree | 148ab3c4b07b215e15cf6bee166bf4089a893b96 /src/game | |
parent | d129834d37592d8ae95a7e4f3a2e3bfc47c11851 (diff) |
* kick reasons weren't being logged
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 7 |
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, |