diff options
author | Adam <Adam@anope.org> | 2012-02-18 15:04:26 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-18 15:04:26 -0500 |
commit | ee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch) | |
tree | 846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /modules/extra/m_ldap_oper.cpp | |
parent | 41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff) |
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/extra/m_ldap_oper.cpp')
-rw-r--r-- | modules/extra/m_ldap_oper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp index b25dd8eff..6a3bec89f 100644 --- a/modules/extra/m_ldap_oper.cpp +++ b/modules/extra/m_ldap_oper.cpp @@ -19,7 +19,7 @@ class IdentifyInterface : public LDAPInterface this->requests[id] = nick; } - void OnResult(const LDAPResult &r) + void OnResult(const LDAPResult &r) anope_override { std::map<LDAPQuery, Anope::string>::iterator it = this->requests.find(r.id); if (it == this->requests.end()) @@ -68,7 +68,7 @@ class IdentifyInterface : public LDAPInterface } } - void OnError(const LDAPResult &r) + void OnError(const LDAPResult &r) anope_override { this->requests.erase(r.id); } @@ -95,7 +95,7 @@ class LDAPOper : public Module OnReload(); } - void OnReload() + void OnReload() anope_override { ConfigReader config; @@ -110,7 +110,7 @@ class LDAPOper : public Module my_opers.clear(); } - void OnNickIdentify(User *u) + void OnNickIdentify(User *u) anope_override { try { @@ -130,7 +130,7 @@ class LDAPOper : public Module } } - void OnDelCore(NickCore *nc) + void OnDelCore(NickCore *nc) anope_override { if (nc->o != NULL && my_opers.count(nc->o) > 0) { |