mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Update cs_anticheat.cpp
This commit is contained in:
@@ -55,18 +55,18 @@ public:
|
|||||||
{
|
{
|
||||||
static std::vector<ChatCommand> anticheatCommandTable =
|
static std::vector<ChatCommand> anticheatCommandTable =
|
||||||
{
|
{
|
||||||
{ "global", HandleAntiCheatGlobalCommand, SEC_GAMEMASTER, Console::Yes },
|
{ "global", HandleAntiCheatGlobalCommand, SEC_GAMEMASTER, Console::Yes },
|
||||||
{ "player", HandleAntiCheatPlayerCommand, SEC_GAMEMASTER, Console::Yes },
|
{ "player", HandleAntiCheatPlayerCommand, SEC_GAMEMASTER, Console::Yes },
|
||||||
{ "delete", HandleAntiCheatDeleteCommand, SEC_ADMINISTRATOR, Console::Yes },
|
{ "delete", HandleAntiCheatDeleteCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||||
{ "jail", HandleAnticheatJailCommand, SEC_GAMEMASTER, Console::Yes },
|
{ "jail", HandleAnticheatJailCommand, SEC_GAMEMASTER, Console::Yes },
|
||||||
{ "parole", HandleAnticheatParoleCommand, SEC_ADMINISTRATOR, Console::Yes },
|
{ "parole", HandleAnticheatParoleCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||||
{ "purge", HandleAntiCheatPurgeCommand, SEC_ADMINISTRATOR, Console::Yes },
|
{ "purge", HandleAntiCheatPurgeCommand, SEC_ADMINISTRATOR, Console::Yes },
|
||||||
{ "warn", HandleAnticheatWarnCommand, SEC_GAMEMASTER, Console::Yes }
|
{ "warn", HandleAnticheatWarnCommand, SEC_GAMEMASTER, Console::Yes }
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::vector<ChatCommand> commandTable =
|
static std::vector<ChatCommand> commandTable =
|
||||||
{
|
{
|
||||||
{ "anticheat", SEC_GAMEMASTER, true, NULL, "", anticheatCommandTable},
|
{ "anticheat", anticheatCommandTable },
|
||||||
};
|
};
|
||||||
|
|
||||||
return commandTable;
|
return commandTable;
|
||||||
|
|||||||
Reference in New Issue
Block a user