From 90551765fe574720dfbf3c409512838f66a3d0bd Mon Sep 17 00:00:00 2001 From: M'Dic Date: Wed, 21 Feb 2024 08:28:43 -0500 Subject: [PATCH] cleanup --- src/server/game/Anticheat/AnticheatMgr.cpp | 2 -- src/server/scripts/Commands/cs_anticheat.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/src/server/game/Anticheat/AnticheatMgr.cpp b/src/server/game/Anticheat/AnticheatMgr.cpp index 34d6e47291..50dcfeb21c 100644 --- a/src/server/game/Anticheat/AnticheatMgr.cpp +++ b/src/server/game/Anticheat/AnticheatMgr.cpp @@ -21,7 +21,6 @@ #include "Battleground.h" #include "DatabaseEnv.h" #include "DBCStores.h" -#include "Log.h" #include "Map.h" #include "MapManager.h" #include "MotionMaster.h" @@ -1775,7 +1774,6 @@ void AnticheatMgr::BuildReport(Player* player, uint8 reportType) player->TeleportTo(loc);// we defined loc as the jail location so we tele them there player->SetHomebind(loc, 876);// GM Jail Homebind location - TC_LOG_INFO("anticheat", "AnticheatMgr:: Jail Command used on player {} ({})", player->GetName().c_str(), player->GetGUID().ToString()); player->CastSpell(player, SHACKLES);// shackle him in place to ensure no exploit happens for jail break attempt if (Aura* dungdesert = player->AddAura(LFG_SPELL_DUNGEON_DESERTER, player))// LFG_SPELL_DUNGEON_DESERTER diff --git a/src/server/scripts/Commands/cs_anticheat.cpp b/src/server/scripts/Commands/cs_anticheat.cpp index 8e8e24e51c..8820679b19 100644 --- a/src/server/scripts/Commands/cs_anticheat.cpp +++ b/src/server/scripts/Commands/cs_anticheat.cpp @@ -108,7 +108,6 @@ class anticheat_commandscript : public CommandScript WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f);// GM Jail Location pTarget->TeleportTo(loc); pTarget->SetHomebind(loc, 876);// GM Jail Homebind location - TC_LOG_INFO("anticheat", "AnticheatMgr:: Jail Command used on player {} ({})", player->GetName().c_str(), player->GetGUID().ToString()); pTarget->CastSpell(pTarget, SHACKLES);// shackle him in place to ensure no exploit happens for jail break attempt if (Aura* dungdesert = pTarget->AddAura(LFG_SPELL_DUNGEON_DESERTER, pTarget))// LFG_SPELL_DUNGEON_DESERTER {