mirror of
https://github.com/anope/anope.git
synced 2026-07-09 04:03:13 +02:00
Replace anope_{final,override} with their C++11 equivalent.
This commit is contained in:
@@ -21,7 +21,7 @@ class CommandCSList : public Command
|
||||
this->SetSyntax(_("\037pattern\037 [SUSPENDED] [NOEXPIRE]"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||
{
|
||||
Anope::string pattern = params[0];
|
||||
unsigned nchans;
|
||||
@@ -130,7 +130,7 @@ class CommandCSList : public Command
|
||||
source.Reply(_("End of list - %d/%d matches shown."), nchans > listmax ? listmax : nchans, nchans);
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
@@ -181,7 +181,7 @@ class CommandCSSetPrivate : public Command
|
||||
this->SetSyntax(_("\037channel\037 {ON | OFF}"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||
{
|
||||
if (Anope::ReadOnly)
|
||||
{
|
||||
@@ -225,7 +225,7 @@ class CommandCSSetPrivate : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &) anope_override
|
||||
bool OnHelp(CommandSource &source, const Anope::string &) override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
@@ -253,7 +253,7 @@ class CSList : public Module
|
||||
{
|
||||
}
|
||||
|
||||
void OnChanInfo(CommandSource &source, ChannelInfo *ci, InfoFormatter &info, bool show_all) anope_override
|
||||
void OnChanInfo(CommandSource &source, ChannelInfo *ci, InfoFormatter &info, bool show_all) override
|
||||
{
|
||||
if (!show_all)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user