mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
fix (log): Logging adjustment to flyhack cm
This commit is contained in:
@@ -341,10 +341,11 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo)
|
|||||||
cheater << cheatertarget->GetPackGUID();
|
cheater << cheatertarget->GetPackGUID();
|
||||||
cheater << uint32(0);
|
cheater << uint32(0);
|
||||||
cheatertarget->SendMessageToSet(&cheater, true);
|
cheatertarget->SendMessageToSet(&cheater, true);
|
||||||
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))
|
if (sConfigMgr->GetOption<bool>("Anticheat.CM.WriteLog", true))
|
||||||
{
|
{
|
||||||
LOG_INFO("anticheat.module", "ANTICHEAT COUNTER MEASURE:: {} Flight Hack Countered", player->GetName());
|
LOG_INFO("anticheat.module", "ANTICHEAT COUNTER MEASURE:: {} Flight Hack Countered", player->GetName());
|
||||||
}
|
}
|
||||||
|
BuildReport(player, FLY_HACK_REPORT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sConfigMgr->GetOption<bool>("Anticheat.CM.ALERTCHAT", true))
|
if (sConfigMgr->GetOption<bool>("Anticheat.CM.ALERTCHAT", true))
|
||||||
|
|||||||
Reference in New Issue
Block a user