summaryrefslogtreecommitdiff
path: root/modules/extra/ldap.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-02 15:28:16 -0400
committerAdam <Adam@anope.org>2011-09-10 02:05:03 -0400
commit17ea4ed8f5c4b08668223897c6de87dd3bdd598c (patch)
treea32cf0bde18678d9ad8895f3e032cf69c48d13f2 /modules/extra/ldap.h
parentfeaef7cc4aa97a0851ad404fc76652560bb14a70 (diff)
Fixed service_reference to work correctly with external classes
Diffstat (limited to 'modules/extra/ldap.h')
-rw-r--r--modules/extra/ldap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/ldap.h b/modules/extra/ldap.h
index 7ac0d545f..e4be8a1a3 100644
--- a/modules/extra/ldap.h
+++ b/modules/extra/ldap.h
@@ -111,10 +111,10 @@ class LDAPInterface
virtual void OnError(const LDAPResult &err) { }
};
-class LDAPProvider : public Service<LDAPProvider>
+class LDAPProvider : public Service<Base>
{
public:
- LDAPProvider(Module *c, const Anope::string &n) : Service<LDAPProvider>(c, n) { }
+ LDAPProvider(Module *c, const Anope::string &n) : Service<Base>(c, n) { }
/** Attempt to bind to the LDAP server as an admin
* @param i The LDAPInterface the result is sent to