fix (log): Logging adjustment to flyhack cm

This commit is contained in:
M'Dic
2023-03-30 12:13:03 -04:00
parent 5eaccee9e0
commit e242c80da6

View File

@@ -341,10 +341,11 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo)
cheater << cheatertarget->GetPackGUID();
cheater << uint32(0);
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());
}
BuildReport(player, FLY_HACK_REPORT);
}
if (sConfigMgr->GetOption<bool>("Anticheat.CM.ALERTCHAT", true))