From 330898d42293dc1353ece68178c3f7a47feb56dc Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 28 Jan 2022 16:43:17 +0100 Subject: [PATCH] Update AnticheatMgr.cpp --- src/AnticheatMgr.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 9d23dac..fb83a12 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -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("Anticheat.WriteLog", false)) - { - LOG_INFO("module", "AnticheatMgr:: Fly-Hack detected player {} ({})", player->GetName(), player->GetGUID().ToString()); - } + } + else if (sConfigMgr->GetOption("Anticheat.WriteLog", false)) + { + LOG_INFO("module", "AnticheatMgr:: Fly-Hack detected player {} ({})", player->GetName(), player->GetGUID().ToString()); + } BuildReport(player,FLY_HACK_REPORT); }