summaryrefslogtreecommitdiff
path: root/modules/extra/m_ldap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_ldap.cpp')
-rw-r--r--modules/extra/m_ldap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp
index f4ba5646c..2be07ff05 100644
--- a/modules/extra/m_ldap.cpp
+++ b/modules/extra/m_ldap.cpp
@@ -346,7 +346,7 @@ class ModuleLDAP : public Module, public Pipe
me = this;
Implementation i[] = { I_OnReload, I_OnModuleUnload };
- ModuleManager::Attach(i, this, 2);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
OnReload();
}