diff options
Diffstat (limited to 'modules/extra/m_ldap_oper.cpp')
-rw-r--r-- | modules/extra/m_ldap_oper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp index 37029268e..f75d372c7 100644 --- a/modules/extra/m_ldap_oper.cpp +++ b/modules/extra/m_ldap_oper.cpp @@ -90,7 +90,7 @@ class LDAPOper : public Module this->SetAuthor("Anope"); Implementation i[] = { I_OnReload, I_OnNickIdentify, I_OnDelCore }; - ModuleManager::Attach(i, this, 3); + ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); OnReload(); } |