diff options
| author | 2026-04-30 22:29:38 +0100 | |
|---|---|---|
| committer | 2026-04-30 23:20:14 +0100 | |
| commit | 9bb55626d51f217466bc08104d2f32eb0bf57c02 (patch) | |
| tree | 44d8c00b97674cd4e35c5a1def208047bf02bcfa /modules/httpd_acl.cpp | |
| parent | Move 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.cpp | 6 |
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"); } |
