From 9bb55626d51f217466bc08104d2f32eb0bf57c02 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 30 Apr 2026 22:29:38 +0100 Subject: Switch ascii comparisons over to our own casemap functions. --- modules/httpd_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/httpd_stats.cpp') diff --git a/modules/httpd_stats.cpp b/modules/httpd_stats.cpp index 2e82970c4..4a5cec3bd 100644 --- a/modules/httpd_stats.cpp +++ b/modules/httpd_stats.cpp @@ -402,9 +402,9 @@ namespace Stats bool desc = params.getBool("desc", false); OrderBy orderby; - if (insp::equalsci(sortmethod, "nick")) + if (insp::ascii_equals(sortmethod, "nick")) orderby = OB_NICK; - else if (insp::equalsci(sortmethod, "lastmsg")) + else if (insp::ascii_equals(sortmethod, "lastmsg")) { orderby = OB_LASTMSG; // We can only check idle times on local users -- cgit v1.3.1-10-gc9f91