aboutsummaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-05-31 11:50:37 +0100
committerGravatar Sadie Powell2026-06-05 13:43:29 +0100
commit6319ae4fb8c10dabc9464ad49faec532096fbcb5 (patch)
tree6b6418e4e50d867f7ff14ef4adb5813dfa5c6e65 /include/modules
parentPort over some recent changes to the Anope LDAP API. (diff)
Fix escaping LDAP search filters in ldapauth and ldapoper.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/ldap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/modules/ldap.h b/include/modules/ldap.h
index d72dd1422..2d4fde80b 100644
--- a/include/modules/ldap.h
+++ b/include/modules/ldap.h
@@ -48,6 +48,8 @@ struct LDAPModification final
typedef std::vector<LDAPModification> LDAPMods;
+using LDAPAttribute = std::pair<std::string, std::string>;
+
struct LDAPAttributes final
: public std::map<std::string, std::vector<std::string>>
{