aboutsummaryrefslogtreecommitdiff
path: root/modules/httpd.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.cpp
parentMove CommandLine from ServerConfig to InspIRCd. (diff)
Switch ascii comparisons over to our own casemap functions.
Diffstat (limited to 'modules/httpd.cpp')
-rw-r--r--modules/httpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/httpd.cpp b/modules/httpd.cpp
index ff1a842c0..227cbf4f6 100644
--- a/modules/httpd.cpp
+++ b/modules/httpd.cpp
@@ -451,7 +451,7 @@ public:
ModResult OnAcceptConnection(int nfd, ListenSocket* from, const irc::sockets::sockaddrs& client, const irc::sockets::sockaddrs& server) override
{
- if (!insp::equalsci(from->bind_tag->getString("type"), "httpd"))
+ if (!insp::ascii_equals(from->bind_tag->getString("type"), "httpd"))
return MOD_RES_PASSTHRU;
sockets.push_front(new HttpServerSocket(nfd, client.addr(), from, client, server, timeoutsec));