mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-27 10:09:40 +00:00
[Server] Log player kicks
This commit is contained in:
parent
a3111fbcc1
commit
bb834748c5
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue