diff options
| author | Ovahlord <18347559+Ovahlord@users.noreply.github.com> | 2025-11-25 23:55:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 23:55:32 +0100 |
| commit | fb88f3c9750578d57d12e9900243e8b73500ce9c (patch) | |
| tree | 12a2c4631ccc08df357e34615883ed7c649df8e7 /src/server/scripts | |
| parent | 1d5ef9c21cb5e01aab14122e1feeef91fd376fcd (diff) | |
Core/Warden: Removed implementation not compatible with modern client versions (#30491)
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Commands/cs_debug.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
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 <fstream> @@ -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<uint16> 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<uint32> mapId) { if (mapId) |
