Core/Log: Log all character kicks to "network.kick" category
(cherry picked from commit 31018c36527755166d8a297ac9e6c98a66f014ae)
This commit is contained in:
@@ -377,7 +377,7 @@ public:
|
||||
target->SetName(newName);
|
||||
|
||||
if (WorldSession* session = target->GetSession())
|
||||
session->KickPlayer();
|
||||
session->KickPlayer("HandleCharacterRenameCommand GM Command renaming character");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -861,7 +861,7 @@ public:
|
||||
{
|
||||
characterGuid = player->GetGUID();
|
||||
accountId = player->GetSession()->GetAccountId();
|
||||
player->GetSession()->KickPlayer();
|
||||
player->GetSession()->KickPlayer("HandleCharacterEraseCommand GM Command deleting character");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user