aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ldapauth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_ldapauth.cpp')
-rw-r--r--src/modules/m_ldapauth.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/m_ldapauth.cpp b/src/modules/m_ldapauth.cpp
index 26a50c145..49e96323f 100644
--- a/src/modules/m_ldapauth.cpp
+++ b/src/modules/m_ldapauth.cpp
@@ -311,7 +311,8 @@ class ModuleLDAPAuth : public Module
public:
ModuleLDAPAuth()
- : LDAP(this, "LDAP")
+ : Module(VF_VENDOR, "Allow/deny connections based upon answers from an LDAP server")
+ , LDAP(this, "LDAP")
, ldapAuthed(this, "ldapauth", ExtensionItem::EXT_USER)
, ldapVhost(this, "ldapauth_vhost", ExtensionItem::EXT_USER)
{
@@ -442,11 +443,6 @@ public:
{
return ldapAuthed.get(user) ? MOD_RES_PASSTHRU : MOD_RES_DENY;
}
-
- Version GetVersion() override
- {
- return Version("Allow/deny connections based upon answers from an LDAP server", VF_VENDOR);
- }
};
MODULE_INIT(ModuleLDAPAuth)