diff options
author | Adam <Adam@anope.org> | 2013-05-06 07:40:43 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-06 07:40:43 -0400 |
commit | ef06226521d27de88a49a84d8224568fec7624c3 (patch) | |
tree | ac67340c29521150bbcedc995ffeb7058366fe5e /modules/m_dnsbl.cpp | |
parent | 4c669b947ff090f50fef379cfc1b2cad08ecc486 (diff) |
Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things
Diffstat (limited to 'modules/m_dnsbl.cpp')
-rw-r--r-- | modules/m_dnsbl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp index b6ebcfb55..ea1f1d9f6 100644 --- a/modules/m_dnsbl.cpp +++ b/modules/m_dnsbl.cpp @@ -103,9 +103,9 @@ class ModuleDNSBL : public Module this->add_to_akill = block->Get<bool>("add_to_akill", "yes"); this->blacklists.clear(); - for (int i = 0, num = conf->CountBlock("blacklist"); i < num; ++i) + for (int i = 0, num = block->CountBlock("blacklist"); i < num; ++i) { - Configuration::Block *bl = conf->GetBlock("blacklist", i); + Configuration::Block *bl = block->GetBlock("blacklist", i); Anope::string bname = bl->Get<const Anope::string>("name"); if (bname.empty()) |