mirror of
https://github.com/anope/anope.git
synced 2026-07-10 08:03:13 +02:00
Replace anope_{final,override} with their C++11 equivalent.
This commit is contained in:
@@ -21,7 +21,7 @@ class IdentifyInterface : public LDAPInterface
|
||||
{
|
||||
}
|
||||
|
||||
void OnResult(const LDAPResult &r) anope_override
|
||||
void OnResult(const LDAPResult &r) override
|
||||
{
|
||||
if (!u || !u->Account())
|
||||
return;
|
||||
@@ -65,11 +65,11 @@ class IdentifyInterface : public LDAPInterface
|
||||
}
|
||||
}
|
||||
|
||||
void OnError(const LDAPResult &r) anope_override
|
||||
void OnError(const LDAPResult &r) override
|
||||
{
|
||||
}
|
||||
|
||||
void OnDelete() anope_override
|
||||
void OnDelete() override
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
@@ -90,7 +90,7 @@ class LDAPOper : public Module
|
||||
|
||||
}
|
||||
|
||||
void OnReload(Configuration::Conf *conf) anope_override
|
||||
void OnReload(Configuration::Conf *conf) override
|
||||
{
|
||||
Configuration::Block *config = Config->GetModule(this);
|
||||
|
||||
@@ -105,7 +105,7 @@ class LDAPOper : public Module
|
||||
my_opers.clear();
|
||||
}
|
||||
|
||||
void OnNickIdentify(User *u) anope_override
|
||||
void OnNickIdentify(User *u) override
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -124,7 +124,7 @@ class LDAPOper : public Module
|
||||
}
|
||||
}
|
||||
|
||||
void OnDelCore(NickCore *nc) anope_override
|
||||
void OnDelCore(NickCore *nc) override
|
||||
{
|
||||
if (nc->o != NULL && my_opers.count(nc->o) > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user