Skip to content

Commit

Permalink
chore(Common/CS): ignore new chatcommand functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Winfidonarleyan committed Oct 22, 2021
1 parent 8f199f2 commit 2898ce9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions modules/mod-as-common/src/plugins/cs_azth_custom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ChatCommand> GetCommands() const override {
// name , level, allowConsole, function
Expand Down

0 comments on commit 2898ce9

Please sign in to comment.