diff options
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/command.cpp b/src/command.cpp index 7fd5975ef..922f298c3 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -20,16 +20,31 @@ Command::~Command() { } -CommandReturn Command::Execute(User *u, const std::vector<ci::string> &) { return MOD_CONT; } +CommandReturn Command::Execute(User *u, const std::vector<ci::string> &) +{ + return MOD_CONT; +} void Command::OnServHelp(User *u) { } bool Command::OnHelp(User *u, const ci::string &subcommand) { return false; } -void Command::OnSyntaxError(User *u, const ci::string &subcommand) { } +void Command::OnSyntaxError(User *u, const ci::string &subcommand) +{ +} void Command::SetPermission(const std::string &reststr) { this->permission = reststr; } +bool Command::AddSubcommand(Command *c) +{ + return false; +} + +bool Command::DelSubcommand(const ci::string &cname) +{ + return false; +} + |