From e2f8e75ab86c484e095ea5723f68a96698abbde2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 17 Mar 2021 06:07:41 +0000 Subject: Pascalize Set in extension item classes. --- src/modules/m_ldapauth.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_ldapauth.cpp') diff --git a/src/modules/m_ldapauth.cpp b/src/modules/m_ldapauth.cpp index 17bf2e72b..d965aff1f 100644 --- a/src/modules/m_ldapauth.cpp +++ b/src/modules/m_ldapauth.cpp @@ -94,7 +94,7 @@ class BindInterface : public LDAPInterface } // change host according to config key - vhosts->set(user, SafeReplace(vhost, dnParts)); + vhosts->Set(user, SafeReplace(vhost, dnParts)); } } @@ -126,7 +126,7 @@ class BindInterface : public LDAPInterface // We're done, there are no attributes to check SetVHost(user, DN); - authed->set(user, 1); + authed->Set(user, 1); delete this; return; @@ -144,7 +144,7 @@ class BindInterface : public LDAPInterface ServerInstance->SNO.WriteToSnoMask('c', "Successful connection from %s (dn=%s)", user->GetFullRealHost().c_str(), DN.c_str()); SetVHost(user, DN); - authed->set(user, 1); + authed->Set(user, 1); } // Delete this if this is the last ref @@ -379,7 +379,7 @@ public: { if (InspIRCd::Match(user->nick, *i)) { - ldapAuthed.set(user,1); + ldapAuthed.Set(user,1); return MOD_RES_PASSTHRU; } } @@ -388,7 +388,7 @@ public: { if (InspIRCd::MatchCIDR(user->GetIPString(), *i, ascii_case_insensitive_map)) { - ldapAuthed.set(user,1); + ldapAuthed.Set(user,1); return MOD_RES_PASSTHRU; } } -- cgit v1.3.1-10-gc9f91