diff options
author | Adam <Adam@anope.org> | 2013-07-01 22:17:52 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-01 22:17:52 -0400 |
commit | 1a3d9a016d3adc49788bbff73aac9b3b5ea85b17 (patch) | |
tree | c0ecf92ed768473bc82ff64a7fce827245f37ba9 /modules/m_dnsbl.cpp | |
parent | 518182ac9204f815258b0de91b3f884d8efa1502 (diff) |
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
Diffstat (limited to 'modules/m_dnsbl.cpp')
-rw-r--r-- | modules/m_dnsbl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp index 8a238889f..b12476515 100644 --- a/modules/m_dnsbl.cpp +++ b/modules/m_dnsbl.cpp @@ -34,7 +34,7 @@ class DNSBLResolver : public Request void OnLookupComplete(const Query *record) anope_override { - if (!user || user->HasExt("m_dnsbl_akilled")) + if (!user || user->Quitting()) return; const ResourceRecord &ans_record = record->answers[0]; @@ -54,8 +54,6 @@ class DNSBLResolver : public Request record_reason = this->blacklist.replies[result]; } - user->Extend("m_dnsbl_akilled"); - Anope::string reason = this->blacklist.reason; reason = reason.replace_all_cs("%n", user->nick); reason = reason.replace_all_cs("%u", user->GetIdent()); |