diff --git a/src/AnticheatScripts.cpp b/src/AnticheatScripts.cpp index 8096e61..6b21086 100644 --- a/src/AnticheatScripts.cpp +++ b/src/AnticheatScripts.cpp @@ -104,7 +104,7 @@ public: void OnPlayerMove(Player* player, MovementInfo mi, uint32 opcode) override { - if (!AccountMgr::IsGMAccount(player->GetSession()->GetSecurity()) || sConfigMgr->GetOption("Anticheat.EnabledOnGmAccounts", false)) + if (!player->GetSession()->IsGMAccount() || sConfigMgr->GetOption("Anticheat.EnabledOnGmAccounts", false)) sAnticheatMgr->StartHackDetection(player, mi, opcode); } };