From d461e557427fd014fb9406272970994998239115 Mon Sep 17 00:00:00 2001 From: MDIC Date: Fri, 8 Apr 2022 11:33:10 -0400 Subject: [PATCH] Corrected Logging ZAxis detection --- src/AnticheatMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 942aac8..9acd775 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -240,7 +240,7 @@ void AnticheatMgr::ZAxisHackDetection(Player* player, MovementInfo movementInfo) // need better way to limit chat spam if (m_Players[key].GetTotalReports() >= sConfigMgr->GetOption("Anticheat.ReportinChat.Min", 70) && m_Players[key].GetTotalReports() <= sConfigMgr->GetOption("Anticheat.ReportinChat.Max", 80)) { - sWorld->SendGMText(LANG_ANTICHEAT_ALERT, player->GetName().c_str()); + sWorld->SendGMText(LANG_ANTICHEAT_ALERT, player->GetName().c_str(), player->GetName().c_str()); } } if (sConfigMgr->GetOption("Anticheat.WriteLog", true))