From 1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 9 Apr 2020 18:57:50 +0100 Subject: Improve storage of module description, flags, and link data. --- src/modules/m_ldapauth.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/modules/m_ldapauth.cpp') 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) -- cgit v1.3.1-10-gc9f91