[Server] Log player kicks

experimental-mono
David Cernat 6 years ago
parent a3111fbcc1
commit bb834748c5

@ -18,6 +18,8 @@ void ServerFunctions::Kick(unsigned short pid) noexcept
{ {
Player *player; Player *player;
GET_PLAYER(pid, 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); mwmp::Networking::getPtr()->kickPlayer(player->guid);
} }

Loading…
Cancel
Save