summaryrefslogtreecommitdiff
path: root/modules/extra/m_ldap_oper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_ldap_oper.cpp')
-rw-r--r--modules/extra/m_ldap_oper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp
index 53b3d4d43..ed2f5900a 100644
--- a/modules/extra/m_ldap_oper.cpp
+++ b/modules/extra/m_ldap_oper.cpp
@@ -23,7 +23,7 @@ class IdentifyInterface : public LDAPInterface
std::map<LDAPQuery, Anope::string>::iterator it = this->requests.find(r.id);
if (it == this->requests.end())
return;
- User *u = finduser(it->second);
+ User *u = User::Find(it->second);
this->requests.erase(it);
@@ -77,7 +77,7 @@ class IdentifyInterface : public LDAPInterface
class LDAPOper : public Module
{
- service_reference<LDAPProvider> ldap;
+ ServiceReference<LDAPProvider> ldap;
IdentifyInterface iinterface;
Anope::string binddn;