summaryrefslogtreecommitdiff
path: root/modules/extra/m_dnsbl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_dnsbl.cpp')
-rw-r--r--modules/extra/m_dnsbl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_dnsbl.cpp b/modules/extra/m_dnsbl.cpp
index a860a10f0..f62908b39 100644
--- a/modules/extra/m_dnsbl.cpp
+++ b/modules/extra/m_dnsbl.cpp
@@ -87,7 +87,7 @@ class ModuleDNSBL : public Module
this->SetAuthor("Anope");
Implementation i[] = { I_OnReload, I_OnUserConnect };
- ModuleManager::Attach(i, this, 2);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
OnReload();
}