Fix (log): Move CM Alert

This commit is contained in:
M'Dic
2023-03-30 12:53:26 -04:00
parent e242c80da6
commit f5a906c239

View File

@@ -345,14 +345,13 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo)
{
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))
{
std::string str = "|cFFFFFC00 FLY HACK COUNTER MEASURE ALERT";
sWorld->SendGMText(LANG_ANTICHEAT_COUNTERMEASURE, str.c_str(), player->GetName().c_str(), player->GetName().c_str());
}
BuildReport(player, FLY_HACK_REPORT);
}
BuildReport(player, FLY_HACK_REPORT);
}