summaryrefslogtreecommitdiff
path: root/modules/extra/ldap.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-25 16:21:21 -0400
committerAdam <Adam@anope.org>2011-09-10 01:58:38 -0400
commitf025d1b495cee3aadb6b7b45652d1cab3b7b7b6d (patch)
tree02df5a3f12104996af87d1b6c5ec9db9d45b6bde /modules/extra/ldap.h
parent8c4417cad180f3c5448c5b7509b1bf2235e3077e (diff)
Made service_reference type safe
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 6fbba7c11..7ac0d545f 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
+class LDAPProvider : public Service<LDAPProvider>
{
public:
- LDAPProvider(Module *c, const Anope::string &n) : Service(c, n) { }
+ LDAPProvider(Module *c, const Anope::string &n) : Service<LDAPProvider>(c, n) { }
/** Attempt to bind to the LDAP server as an admin
* @param i The LDAPInterface the result is sent to