diff options
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) |
