forked from mirror/openmw-tes3mp
[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;
|
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…
Reference in a new issue