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.cpp | |
| parent | Move 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.cpp | 2 |
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)); |
