From e242c80da618601bb202fbf0c4a18b645fd7da1f Mon Sep 17 00:00:00 2001 From: M'Dic Date: Thu, 30 Mar 2023 12:13:03 -0400 Subject: [PATCH] fix (log): Logging adjustment to flyhack cm --- src/AnticheatMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 4ebfb8d..3963d07 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -341,10 +341,11 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo) cheater << cheatertarget->GetPackGUID(); cheater << uint32(0); cheatertarget->SendMessageToSet(&cheater, true); - if (sConfigMgr->GetOption("Anticheat.WriteLog", true)) + if (sConfigMgr->GetOption("Anticheat.CM.WriteLog", true)) { LOG_INFO("anticheat.module", "ANTICHEAT COUNTER MEASURE:: {} Flight Hack Countered", player->GetName()); } + BuildReport(player, FLY_HACK_REPORT); } if (sConfigMgr->GetOption("Anticheat.CM.ALERTCHAT", true))