From fb88f3c9750578d57d12e9900243e8b73500ce9c Mon Sep 17 00:00:00 2001 From: Ovahlord <18347559+Ovahlord@users.noreply.github.com> Date: Tue, 25 Nov 2025 23:55:32 +0100 Subject: Core/Warden: Removed implementation not compatible with modern client versions (#30491) --- src/server/scripts/Commands/cs_debug.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp index 3785f81f70a..fd9e47cc529 100644 --- a/src/server/scripts/Commands/cs_debug.cpp +++ b/src/server/scripts/Commands/cs_debug.cpp @@ -52,7 +52,6 @@ EndScriptData */ #include "SpellMgr.h" #include "SpellPackets.h" #include "Transport.h" -#include "Warden.h" #include "World.h" #include "WorldSession.h" #include @@ -130,7 +129,6 @@ public: { "guidlimits", HandleDebugGuidLimitsCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::Yes }, { "objectcount", HandleDebugObjectCountCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::Yes }, { "questreset", HandleDebugQuestResetCommand, rbac::RBAC_PERM_COMMAND_DEBUG, Console::Yes }, - { "warden force", HandleDebugWardenForce, rbac::RBAC_PERM_COMMAND_DEBUG, Console::Yes }, { "personalclone", HandleDebugBecomePersonalClone, rbac::RBAC_PERM_COMMAND_DEBUG, Console::No } }; static ChatCommandTable commandTable = @@ -1653,23 +1651,6 @@ public: return true; } - static bool HandleDebugWardenForce(ChatHandler* handler, std::vector checkIds) - { - if (checkIds.empty()) - return false; - - Warden* const warden = handler->GetSession()->GetWarden(); - if (!warden) - { - handler->SendSysMessage("Warden system is not enabled"); - return true; - } - - size_t const nQueued = warden->DEBUG_ForceSpecificChecks(checkIds); - handler->PSendSysMessage("%zu/%zu checks queued for your Warden, they should be sent over the next few minutes (depending on settings)", nQueued, checkIds.size()); - return true; - } - static bool HandleDebugGuidLimitsCommand(ChatHandler* handler, Optional mapId) { if (mapId) -- cgit v1.2.3