From bb834748c51588ee69ebe499b952bdf2c83a8140 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 13 Oct 2018 09:34:29 +0300 Subject: [PATCH] [Server] Log player kicks --- apps/openmw-mp/Script/Functions/Server.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw-mp/Script/Functions/Server.cpp b/apps/openmw-mp/Script/Functions/Server.cpp index eff8e938b..b8f84136b 100644 --- a/apps/openmw-mp/Script/Functions/Server.cpp +++ b/apps/openmw-mp/Script/Functions/Server.cpp @@ -18,6 +18,8 @@ void ServerFunctions::Kick(unsigned short pid) noexcept { Player *player; GET_PLAYER(pid, player,); + + LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Kicking player %s (%i)", player->npc.mName.c_str(), player->getId()); mwmp::Networking::getPtr()->kickPlayer(player->guid); }