diff options
-rw-r--r-- | include/modes.h | 2 | ||||
-rw-r--r-- | modules/commands/cs_access.cpp | 2 | ||||
-rw-r--r-- | modules/commands/cs_flags.cpp | 2 | ||||
-rw-r--r-- | modules/commands/cs_xop.cpp | 4 | ||||
-rw-r--r-- | modules/commands/os_news.cpp | 6 | ||||
-rw-r--r-- | modules/commands/os_sxline.cpp | 6 | ||||
-rw-r--r-- | modules/fantasy.cpp | 2 | ||||
-rw-r--r-- | modules/m_httpd.cpp | 2 | ||||
-rw-r--r-- | modules/m_xmlrpc.cpp | 6 | ||||
-rw-r--r-- | modules/pseudoclients/memoserv.cpp | 2 | ||||
-rw-r--r-- | modules/pseudoclients/nickserv.cpp | 4 |
11 files changed, 19 insertions, 19 deletions
diff --git a/include/modes.h b/include/modes.h index 0fa0d8d86..ed55f5911 100644 --- a/include/modes.h +++ b/include/modes.h @@ -221,7 +221,7 @@ class CoreExport ChannelModeVirtual : public T ChannelMode *Wrap(Anope::string ¶m) anope_override; - ChannelMode *Unwrap(ChannelMode *cm, Anope::string ¶m) = 0; + ChannelMode *Unwrap(ChannelMode *cm, Anope::string ¶m) anope_override = 0; }; /* The status a user has on a channel (+v, +h, +o) etc */ diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index 508274002..386978340 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -34,7 +34,7 @@ class AccessChanAccess : public ChanAccess return this->ci->GetLevel(name) != ACCESS_INVALID && this->level >= this->ci->GetLevel(name); } - Anope::string AccessSerialize() const + Anope::string AccessSerialize() const anope_override { return stringify(this->level); } diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index 179d04317..5fca415de 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -30,7 +30,7 @@ class FlagsChanAccess : public ChanAccess return false; } - Anope::string AccessSerialize() const + Anope::string AccessSerialize() const anope_override { return Anope::string(this->flags.begin(), this->flags.end()); } diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index 403920030..2b0cf413f 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -37,7 +37,7 @@ class XOPChanAccess : public ChanAccess return false; } - Anope::string AccessSerialize() const + Anope::string AccessSerialize() const anope_override { return this->type; } @@ -489,7 +489,7 @@ class CommandCSXOP : public Command return Anope::printf(Language::Translate(source.GetAccount(), _("Modify the list of %s users")), source.command.upper().c_str()); } - void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override { ChannelInfo *ci = ChannelInfo::Find(params[0]); if (ci == NULL) diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp index d83e44025..f199cdad5 100644 --- a/modules/commands/os_news.cpp +++ b/modules/commands/os_news.cpp @@ -111,12 +111,12 @@ class MyNewsService : public NewsService return new MyNewsItem(); } - void AddNewsItem(NewsItem *n) + void AddNewsItem(NewsItem *n) anope_override { this->newsItems[n->type].push_back(n); } - void DelNewsItem(NewsItem *n) + void DelNewsItem(NewsItem *n) anope_override { std::vector<NewsItem *> &list = this->GetNewsList(n->type); std::vector<NewsItem *>::iterator it = std::find(list.begin(), list.end(), n); @@ -125,7 +125,7 @@ class MyNewsService : public NewsService delete n; } - std::vector<NewsItem *> &GetNewsList(NewsType t) + std::vector<NewsItem *> &GetNewsList(NewsType t) anope_override { return this->newsItems[t]; } diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 4a0e92ed4..167115194 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -253,12 +253,12 @@ class CommandOSSXLineBase : public Command return; } - virtual bool OnHelp(CommandSource &source, const Anope::string &subcommand) = 0; + virtual bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override = 0; }; class CommandOSSNLine : public CommandOSSXLineBase { - XLineManager *xlm() + XLineManager *xlm() anope_override { return this->snlines; } @@ -484,7 +484,7 @@ class CommandOSSNLine : public CommandOSSXLineBase class CommandOSSQLine : public CommandOSSXLineBase { - XLineManager *xlm() + XLineManager *xlm() anope_override { return this->sqlines; } diff --git a/modules/fantasy.cpp b/modules/fantasy.cpp index 45223f398..f5e544544 100644 --- a/modules/fantasy.cpp +++ b/modules/fantasy.cpp @@ -208,7 +208,7 @@ class Fantasy : public Module FOREACH_MOD(OnPostCommand, (source, cmd, params)); } - void OnBotInfo(CommandSource &source, BotInfo *bi, ChannelInfo *ci, InfoFormatter &info) + void OnBotInfo(CommandSource &source, BotInfo *bi, ChannelInfo *ci, InfoFormatter &info) anope_override { if (fantasy.HasExt(ci)) info.AddOption(_("Fantasy")); diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp index b63b6685b..a3f2b0110 100644 --- a/modules/m_httpd.cpp +++ b/modules/m_httpd.cpp @@ -326,7 +326,7 @@ class MyHTTPProvider : public HTTPProvider, public Timer this->pages.erase(page->GetURL()); } - HTTPPage* FindPage(const Anope::string &pname) + HTTPPage* FindPage(const Anope::string &pname) anope_override { if (this->pages.count(pname) == 0) return NULL; diff --git a/modules/m_xmlrpc.cpp b/modules/m_xmlrpc.cpp index 3ab028629..867ae217d 100644 --- a/modules/m_xmlrpc.cpp +++ b/modules/m_xmlrpc.cpp @@ -39,12 +39,12 @@ class MyXMLRPCServiceInterface : public XMLRPCServiceInterface, public HTTPPage public: MyXMLRPCServiceInterface(Module *creator, const Anope::string &sname) : XMLRPCServiceInterface(creator, sname), HTTPPage("/xmlrpc", "text/xml") { } - void Register(XMLRPCEvent *event) + void Register(XMLRPCEvent *event) anope_override { this->events.push_back(event); } - void Unregister(XMLRPCEvent *event) + void Unregister(XMLRPCEvent *event) anope_override { std::deque<XMLRPCEvent *>::iterator it = std::find(this->events.begin(), this->events.end(), event); @@ -182,7 +182,7 @@ class MyXMLRPCServiceInterface : public XMLRPCServiceInterface, public HTTPPage return true; } - void Reply(XMLRPCRequest &request) + void Reply(XMLRPCRequest &request) anope_override { if (!request.id.empty()) request.reply("id", request.id); diff --git a/modules/pseudoclients/memoserv.cpp b/modules/pseudoclients/memoserv.cpp index 1d7e5d5bd..d4d00df64 100644 --- a/modules/pseudoclients/memoserv.cpp +++ b/modules/pseudoclients/memoserv.cpp @@ -129,7 +129,7 @@ class MemoServCore : public Module, public MemoServService return MEMO_SUCCESS; } - void Check(User *u) + void Check(User *u) anope_override { const NickCore *nc = u->Account(); if (!nc) diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp index 73d9acf3d..013b067f9 100644 --- a/modules/pseudoclients/nickserv.cpp +++ b/modules/pseudoclients/nickserv.cpp @@ -495,14 +495,14 @@ class NickServCore : public Module, public NickServService "after %d days if not used."), nickserv_expire / 86400); } - void OnNickCoreCreate(NickCore *nc) + void OnNickCoreCreate(NickCore *nc) anope_override { /* Set default flags */ for (unsigned i = 0; i < defaults.size(); ++i) nc->Extend<bool>(defaults[i].upper()); } - void OnUserQuit(User *u, const Anope::string &msg) + void OnUserQuit(User *u, const Anope::string &msg) anope_override { if (u->server && !u->server->GetQuitReason().empty() && Config->GetModule(this)->Get<bool>("hidenetsplitquit")) return; |