summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/chanserv.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
committerAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
commitee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch)
tree846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /modules/pseudoclients/chanserv.cpp
parent41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff)
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/pseudoclients/chanserv.cpp')
-rw-r--r--modules/pseudoclients/chanserv.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp
index 33ea10a64..b5deaf284 100644
--- a/modules/pseudoclients/chanserv.cpp
+++ b/modules/pseudoclients/chanserv.cpp
@@ -18,7 +18,7 @@ class ExpireCallback : public CallBack
public:
ExpireCallback(Module *owner) : CallBack(owner, Config->ExpireTimeout, Anope::CurTime, true) { }
- void Tick(time_t)
+ void Tick(time_t) anope_override
{
if (!Config->CSExpire || noexpire || readonly)
return;
@@ -69,7 +69,7 @@ class ChanServCore : public Module
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
- EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message)
+ EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message) anope_override
{
if (Config->CSOpersOnly && !u->HasMode(UMODE_OPER) && bi->nick == Config->ChanServ)
{
@@ -80,7 +80,7 @@ class ChanServCore : public Module
return EVENT_CONTINUE;
}
- void OnDelCore(NickCore *nc)
+ void OnDelCore(NickCore *nc) anope_override
{
// XXX this is slightly inefficient
for (registered_channel_map::const_iterator it = RegisteredChannelList.begin(), it_end = RegisteredChannelList.end(); it != it_end;)
@@ -149,7 +149,7 @@ class ChanServCore : public Module
}
}
- EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params)
+ EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (!params.empty() || source.owner->nick != Config->ChanServ)
return EVENT_CONTINUE;
@@ -164,7 +164,7 @@ class ChanServCore : public Module
return EVENT_CONTINUE;
}
- void OnPostHelp(CommandSource &source, const std::vector<Anope::string> &params)
+ void OnPostHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (!params.empty() || source.owner->nick != Config->ChanServ)
return;