Core/Warden: Removed implementation not compatible with modern client versions (#30491)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user