mirror of
https://github.com/anope/anope.git
synced 2026-07-09 10:23:12 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -22,7 +22,7 @@ class CommandCSSetDescription : public Command
|
||||
this->SetSyntax(_("\037channel\037 [\037description\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;
|
||||
ChannelInfo *ci = cs_findchan(params[0]);
|
||||
@@ -52,7 +52,7 @@ class CommandCSSetDescription : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &)
|
||||
bool OnHelp(CommandSource &source, const Anope::string &) anope_override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
|
||||
Reference in New Issue
Block a user