From 5ae7d3dbc2ad634a10b40b20d0339d7530309034 Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Sat, 23 Oct 2021 00:32:37 +0700 Subject: [PATCH] chore(CS): ignore new chatcommand functions --- src/cs_anticheat.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cs_anticheat.cpp b/src/cs_anticheat.cpp index 989695e..d172718 100644 --- a/src/cs_anticheat.cpp +++ b/src/cs_anticheat.cpp @@ -20,6 +20,12 @@ #include "Configuration/Config.h" #include "Player.h" +#if AC_COMPILER == AC_COMPILER_GNU +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + +using namespace Acore::ChatCommands; + class anticheat_commandscript : public CommandScript { public: