diff options
| author | 2026-04-30 22:29:38 +0100 | |
|---|---|---|
| committer | 2026-04-30 23:20:14 +0100 | |
| commit | 9bb55626d51f217466bc08104d2f32eb0bf57c02 (patch) | |
| tree | 44d8c00b97674cd4e35c5a1def208047bf02bcfa /modules/dnsbl.cpp | |
| parent | Move CommandLine from ServerConfig to InspIRCd. (diff) | |
Switch ascii comparisons over to our own casemap functions.
Diffstat (limited to 'modules/dnsbl.cpp')
| -rw-r--r-- | modules/dnsbl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dnsbl.cpp b/modules/dnsbl.cpp index de6c98853..f7a42b9da 100644 --- a/modules/dnsbl.cpp +++ b/modules/dnsbl.cpp @@ -546,7 +546,7 @@ public: const auto dnsblname = tag->getString("name"); auto dnsbl = std::find_if(newdnsbls.begin(), newdnsbls.end(), [&dnsblname](const auto& d) { - return insp::equalsci(d->name, dnsblname); + return insp::ascii_equals(d->name, dnsblname); }); if (dnsbl == newdnsbls.end()) throw ModuleException(weak_from_this(), "<dnsblreply:name> must be set to the name of a DNSBL at " + tag->source.str()); |
