From 8e908f0a6864eab4cf37997773603e9943bb7892 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:17:09 +0000 Subject: SnomaskManager: remove fakederef. --- src/modules/m_ldapoper.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_ldapoper.cpp') diff --git a/src/modules/m_ldapoper.cpp b/src/modules/m_ldapoper.cpp index 27b2ca347..360c4b2f7 100644 --- a/src/modules/m_ldapoper.cpp +++ b/src/modules/m_ldapoper.cpp @@ -67,7 +67,7 @@ class LDAPOperBase : public LDAPInterface void OnError(const LDAPResult& err) override { - ServerInstance->SNO->WriteToSnoMask('a', "Error searching LDAP server: %s", err.getError().c_str()); + ServerInstance->SNO.WriteToSnoMask('a', "Error searching LDAP server: %s", err.getError().c_str()); Fallback(); delete this; } @@ -120,7 +120,7 @@ class SearchInterface : public LDAPOperBase } catch (LDAPException& ex) { - ServerInstance->SNO->WriteToSnoMask('a', "Error searching LDAP server: " + ex.GetReason()); + ServerInstance->SNO.WriteToSnoMask('a', "Error searching LDAP server: " + ex.GetReason()); } return true; @@ -167,7 +167,7 @@ class AdminBindInterface : public LDAPInterface } catch (LDAPException& ex) { - ServerInstance->SNO->WriteToSnoMask('a', "Error searching LDAP server: " + ex.GetReason()); + ServerInstance->SNO.WriteToSnoMask('a', "Error searching LDAP server: " + ex.GetReason()); } } delete this; @@ -175,7 +175,7 @@ class AdminBindInterface : public LDAPInterface void OnError(const LDAPResult& err) override { - ServerInstance->SNO->WriteToSnoMask('a', "Error binding as manager to LDAP server: " + err.getError()); + ServerInstance->SNO.WriteToSnoMask('a', "Error binding as manager to LDAP server: " + err.getError()); delete this; } }; @@ -233,7 +233,7 @@ class ModuleLDAPAuth : public Module } catch (LDAPException& ex) { - ServerInstance->SNO->WriteToSnoMask('a', "LDAP exception: " + ex.GetReason()); + ServerInstance->SNO.WriteToSnoMask('a', "LDAP exception: " + ex.GetReason()); } } -- cgit v1.3.1-10-gc9f91