From cf3b776d2b0100fd50789e91d23af9b76279e0d6 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 18 Jul 2024 19:31:07 +0200 Subject: [PATCH] Update cs_anticheat.cpp --- src/cs_anticheat.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cs_anticheat.cpp b/src/cs_anticheat.cpp index f0beaa4..a943159 100644 --- a/src/cs_anticheat.cpp +++ b/src/cs_anticheat.cpp @@ -55,13 +55,13 @@ public: { static std::vector anticheatCommandTable = { - { "global", SEC_GAMEMASTER, true, &HandleAntiCheatGlobalCommand, "" }, - { "player", SEC_GAMEMASTER, true, &HandleAntiCheatPlayerCommand, "" }, - { "delete", SEC_ADMINISTRATOR, true, &HandleAntiCheatDeleteCommand, "" }, - { "jail", SEC_GAMEMASTER, true, &HandleAnticheatJailCommand, "" }, - { "parole", SEC_ADMINISTRATOR, true, &HandleAnticheatParoleCommand, "" }, - { "purge", SEC_ADMINISTRATOR, true, &HandleAntiCheatPurgeCommand, "" }, - { "warn", SEC_GAMEMASTER, true, &HandleAnticheatWarnCommand, "" } + { "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 =