mirror of
https://github.com/anope/anope.git
synced 2026-07-10 11:43:15 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -22,7 +22,7 @@ class HelpChannel : public Module
|
||||
OnReload();
|
||||
}
|
||||
|
||||
EventReturn OnChannelModeSet(Channel *c, ChannelModeName Name, const Anope::string ¶m)
|
||||
EventReturn OnChannelModeSet(Channel *c, ChannelModeName Name, const Anope::string ¶m) anope_override
|
||||
{
|
||||
if (Name == CMODE_OP && c && c->ci && c->name.equals_ci(this->HelpChan))
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class HelpChannel : public Module
|
||||
return EVENT_CONTINUE;
|
||||
}
|
||||
|
||||
void OnReload()
|
||||
void OnReload() anope_override
|
||||
{
|
||||
ConfigReader config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user