aboutsummaryrefslogtreecommitdiffstats
path: root/modules/dnsbl.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/dnsbl.cpp
parentMove 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.cpp2
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());