summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_greet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_set_greet.cpp')
-rw-r--r--modules/commands/ns_set_greet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/ns_set_greet.cpp b/modules/commands/ns_set_greet.cpp
index c986eadf8..ed620dc05 100644
--- a/modules/commands/ns_set_greet.cpp
+++ b/modules/commands/ns_set_greet.cpp
@@ -46,12 +46,12 @@ class CommandNSSetGreet : public Command
return;
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params)
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
this->Run(source, source.u->Account()->display, params.size() > 0 ? params[0] : "");
}
- bool OnHelp(CommandSource &source, const Anope::string &)
+ bool OnHelp(CommandSource &source, const Anope::string &) anope_override
{
this->SendSyntax(source);
source.Reply(" ");
@@ -72,12 +72,12 @@ class CommandNSSASetGreet : public CommandNSSetGreet
this->SetSyntax(_("\037nickname\037 \037message\037"));
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params)
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
this->Run(source, params[0], params.size() > 1 ? params[1] : "");
}
- bool OnHelp(CommandSource &source, const Anope::string &)
+ bool OnHelp(CommandSource &source, const Anope::string &) anope_override
{
this->SendSyntax(source);
source.Reply(" ");