diff options
| author | 2023-08-05 12:02:14 +0100 | |
|---|---|---|
| committer | 2023-08-11 12:03:09 +0100 | |
| commit | 681b488fc0ebca964eddf2a54575dc41901bc520 (patch) | |
| tree | 8d5953e1ecc38e7abc8e4369e71a2f3db2a1744a /src/modules/m_httpd_acl.cpp | |
| parent | Move stdalgo::string::{equalsci,tocstr} to utility/string. (diff) | |
Update usages of stdalgo::string::equalsci to use insp::equalsci.
Diffstat (limited to 'src/modules/m_httpd_acl.cpp')
| -rw-r--r-- | src/modules/m_httpd_acl.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/m_httpd_acl.cpp b/src/modules/m_httpd_acl.cpp index e9a03123a..c7fc68d45 100644 --- a/src/modules/m_httpd_acl.cpp +++ b/src/modules/m_httpd_acl.cpp @@ -25,6 +25,7 @@ #include "inspircd.h" #include "modules/httpd.h" +#include "utility/string.h" class HTTPACL final { @@ -78,16 +79,16 @@ public: while (sep.GetToken(type)) { - if (stdalgo::string::equalsci(type, "password")) + if (insp::equalsci(type, "password")) { username = c->getString("username"); password = c->getString("password"); } - else if (stdalgo::string::equalsci(type, "whitelist")) + else if (insp::equalsci(type, "whitelist")) { whitelist = c->getString("whitelist"); } - else if (stdalgo::string::equalsci(type, "blacklist")) + else if (insp::equalsci(type, "blacklist")) { blacklist = c->getString("blacklist"); } |
