From 97a1d6429a735eb279496df010d04e3f42aa4e22 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 24 Jul 2018 18:29:43 +0100 Subject: Make more config stuff case insensitive. --- src/modules/m_dccallow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 9d85f01da..647f69e7a 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -391,7 +391,7 @@ class ModuleDCCAllow : public Module if (InspIRCd::Match(filename, bfl[i].filemask, ascii_case_insensitive_map)) { /* We have a matching badfile entry, override whatever the default action is */ - if (bfl[i].action == "allow") + if (stdalgo::string::equalsci(bfl[i].action, "allow")) return MOD_RES_PASSTHRU; else { -- cgit v1.3.1-10-gc9f91