diff options
| author | 2021-03-17 06:07:41 +0000 | |
|---|---|---|
| committer | 2021-03-17 06:07:41 +0000 | |
| commit | e2f8e75ab86c484e095ea5723f68a96698abbde2 (patch) | |
| tree | 2a3e41f51536a8eabb1b6b3c2a5fb47bb1346fdb /src/modules/m_ldapauth.cpp | |
| parent | Pascalize Get in extension item classes. (diff) | |
Pascalize Set in extension item classes.
Diffstat (limited to 'src/modules/m_ldapauth.cpp')
| -rw-r--r-- | src/modules/m_ldapauth.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; } } |
