Update AnticheatMgr.cpp

This commit is contained in:
Kitzunu
2022-01-28 16:43:17 +01:00
parent 3f420234e1
commit 330898d422

View File

@@ -129,11 +129,11 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo)
" has been kicked.|r";
sWorld->SendServerMessage(SERVER_MSG_STRING, stream.str().c_str());
}
}
else if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", false))
{
LOG_INFO("module", "AnticheatMgr:: Fly-Hack detected player {} ({})", player->GetName(), player->GetGUID().ToString());
}
}
else if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", false))
{
LOG_INFO("module", "AnticheatMgr:: Fly-Hack detected player {} ({})", player->GetName(), player->GetGUID().ToString());
}
BuildReport(player,FLY_HACK_REPORT);
}