From 49c01ed323c484c29dbc7ae979ad412525366de3 Mon Sep 17 00:00:00 2001 From: Kargatum Date: Fri, 22 Oct 2021 22:41:16 +0700 Subject: [PATCH] chore(Commands): ignore new chatcommant functions (#44) --- src/cs_ah_bot.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cs_ah_bot.cpp b/src/cs_ah_bot.cpp index 078b351..469f7b5 100644 --- a/src/cs_ah_bot.cpp +++ b/src/cs_ah_bot.cpp @@ -27,6 +27,12 @@ EndScriptData */ #include "AuctionHouseBot.h" #include "Config.h" +#if AC_COMPILER == AC_COMPILER_GNU +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + +using namespace Acore::ChatCommands; + class ah_bot_commandscript : public CommandScript { public: