From f06d82ff2b7f382488b44dbea3e72e9be7832e86 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 18 Jul 2024 19:41:31 +0200 Subject: [PATCH] Update cs_anticheat.cpp --- src/cs_anticheat.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/cs_anticheat.cpp b/src/cs_anticheat.cpp index a943159..51b14a6 100644 --- a/src/cs_anticheat.cpp +++ b/src/cs_anticheat.cpp @@ -55,18 +55,18 @@ public: { static std::vector anticheatCommandTable = { - { "global", HandleAntiCheatGlobalCommand, SEC_GAMEMASTER, Console::Yes }, - { "player", HandleAntiCheatPlayerCommand, SEC_GAMEMASTER, Console::Yes }, - { "delete", HandleAntiCheatDeleteCommand, SEC_ADMINISTRATOR, Console::Yes }, - { "jail", HandleAnticheatJailCommand, SEC_GAMEMASTER, Console::Yes }, - { "parole", HandleAnticheatParoleCommand, SEC_ADMINISTRATOR, Console::Yes }, - { "purge", HandleAntiCheatPurgeCommand, SEC_ADMINISTRATOR, Console::Yes }, - { "warn", HandleAnticheatWarnCommand, SEC_GAMEMASTER, Console::Yes } + { "global", HandleAntiCheatGlobalCommand, SEC_GAMEMASTER, Console::Yes }, + { "player", HandleAntiCheatPlayerCommand, SEC_GAMEMASTER, Console::Yes }, + { "delete", HandleAntiCheatDeleteCommand, SEC_ADMINISTRATOR, Console::Yes }, + { "jail", HandleAnticheatJailCommand, SEC_GAMEMASTER, Console::Yes }, + { "parole", HandleAnticheatParoleCommand, SEC_ADMINISTRATOR, Console::Yes }, + { "purge", HandleAntiCheatPurgeCommand, SEC_ADMINISTRATOR, Console::Yes }, + { "warn", HandleAnticheatWarnCommand, SEC_GAMEMASTER, Console::Yes } }; static std::vector commandTable = { - { "anticheat", SEC_GAMEMASTER, true, NULL, "", anticheatCommandTable}, + { "anticheat", anticheatCommandTable }, }; return commandTable;