diff options
| author | 2026-04-30 22:29:38 +0100 | |
|---|---|---|
| committer | 2026-04-30 23:20:14 +0100 | |
| commit | 9bb55626d51f217466bc08104d2f32eb0bf57c02 (patch) | |
| tree | 44d8c00b97674cd4e35c5a1def208047bf02bcfa /src/listmode.cpp | |
| parent | Move CommandLine from ServerConfig to InspIRCd. (diff) | |
Switch ascii comparisons over to our own casemap functions.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index 4d5de7d95..29b587307 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -74,7 +74,7 @@ void ListModeBase::DoRehash() for (const auto& [_, c] : ServerInstance->Config->ConfTags("maxlist")) { const std::string mname = c->getString("mode"); - if (!mname.empty() && !insp::equalsci(mname, this->service_name) && !(mname.length() == 1 && GetModeChar() == mname[0])) + if (!mname.empty() && !insp::ascii_equals(mname, this->service_name) && !(mname.length() == 1 && GetModeChar() == mname[0])) continue; ListLimit limit(c->getString("chan", "*", 1), c->getNum<size_t>("limit", DEFAULT_LIST_SIZE)); |
