aboutsummaryrefslogtreecommitdiff
path: root/modules/httpd_stats.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_stats.cpp
parentMove CommandLine from ServerConfig to InspIRCd. (diff)
Switch ascii comparisons over to our own casemap functions.
Diffstat (limited to 'modules/httpd_stats.cpp')
-rw-r--r--modules/httpd_stats.cpp4
1 files changed, 2 insertions, 2 deletions
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