diff options
| author | Adam <Adam@anope.org> | 2014-04-01 22:24:50 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-04-01 22:24:50 -0400 |
| commit | 44637154da89028a99920bd6ead5d917d8a894a4 (patch) | |
| tree | cb2bd670800efb25beb2c71983b1db49a3f78d49 /modules/m_dnsbl.cpp | |
| parent | b12a51a430b00e857cc5568c9fd994bbd88c8ff7 (diff) | |
Require cmake 2.8 and C++11 support
Diffstat (limited to 'modules/m_dnsbl.cpp')
| -rw-r--r-- | modules/m_dnsbl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp index b19a66ea4..414598441 100644 --- a/modules/m_dnsbl.cpp +++ b/modules/m_dnsbl.cpp @@ -32,7 +32,7 @@ class DNSBLResolver : public Request public: DNSBLResolver(Module *c, User *u, const Blacklist &b, const Anope::string &host, bool add_akill) : Request(dnsmanager, c, host, QUERY_A, true), user(u), blacklist(b), add_to_akill(add_akill) { } - void OnLookupComplete(const Query *record) anope_override + void OnLookupComplete(const Query *record) override { if (!user || user->Quitting()) return; @@ -92,7 +92,7 @@ class ModuleDNSBL : public Module } - void OnReload(Configuration::Conf *conf) anope_override + void OnReload(Configuration::Conf *conf) override { Configuration::Block *block = conf->GetModule(this); this->check_on_connect = block->Get<bool>("check_on_connect"); @@ -121,7 +121,7 @@ class ModuleDNSBL : public Module } } - void OnUserConnect(User *user, bool &exempt) anope_override + void OnUserConnect(User *user, bool &exempt) override { if (exempt || user->Quitting() || (!this->check_on_connect && !Me->IsSynced()) || !dnsmanager) return; |
