diff --git a/modules/mod-as-common/src/plugins/cs_azth_custom.cpp b/modules/mod-as-common/src/plugins/cs_azth_custom.cpp index 957a83e..a3786d9 100644 --- a/modules/mod-as-common/src/plugins/cs_azth_custom.cpp +++ b/modules/mod-as-common/src/plugins/cs_azth_custom.cpp @@ -33,10 +33,16 @@ #include "AzthUtils.h" #include "AZTH.h" - class azth_commandscript : public CommandScript { - public: +#if AC_COMPILER == AC_COMPILER_GNU +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif - azth_commandscript() : CommandScript("azth_commandscript") {} +using namespace Acore::ChatCommands; + +class azth_commandscript : public CommandScript +{ +public: + azth_commandscript() : CommandScript("azth_commandscript") { } std::vector GetCommands() const override { // name , level, allowConsole, function