mirror of
https://github.com/anope/anope.git
synced 2026-07-10 00:23:11 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -22,7 +22,7 @@ class CommandOSKill : public Command
|
||||
this->SetSyntax(_("\037user\037 [\037reason\037]"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
User *u = source.u;
|
||||
const Anope::string &nick = params[0];
|
||||
@@ -44,7 +44,7 @@ class CommandOSKill : public Command
|
||||
}
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
|
||||
Reference in New Issue
Block a user