aboutsummaryrefslogtreecommitdiff
path: root/modules/httpd_acl.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-04-30 22:29:38 +0100
committerGravatar Sadie Powell2026-04-30 23:20:14 +0100
commit9bb55626d51f217466bc08104d2f32eb0bf57c02 (patch)
tree44d8c00b97674cd4e35c5a1def208047bf02bcfa /modules/httpd_acl.cpp
parentMove CommandLine from ServerConfig to InspIRCd. (diff)
Switch ascii comparisons over to our own casemap functions.
Diffstat (limited to 'modules/httpd_acl.cpp')
-rw-r--r--modules/httpd_acl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/httpd_acl.cpp b/modules/httpd_acl.cpp
index 083fe0b4d..65ced0c44 100644
--- a/modules/httpd_acl.cpp
+++ b/modules/httpd_acl.cpp
@@ -79,16 +79,16 @@ public:
while (sep.GetToken(type))
{
- if (insp::equalsci(type, "password"))
+ if (insp::ascii_equals(type, "password"))
{
username = c->getString("username");
password = c->getString("password");
}
- else if (insp::equalsci(type, "whitelist"))
+ else if (insp::ascii_equals(type, "whitelist"))
{
whitelist = c->getString("whitelist");
}
- else if (insp::equalsci(type, "blacklist"))
+ else if (insp::ascii_equals(type, "blacklist"))
{
blacklist = c->getString("blacklist");
}