From cefae0ed22ffce622c65024b54305bdd0bb58004 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 7 Jun 2021 07:43:03 +0100 Subject: Fix MSVC compatibility issues. --- src/configparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configparser.cpp') diff --git a/src/configparser.cpp b/src/configparser.cpp index f50960cde..418542570 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -402,7 +402,7 @@ void ParseStack::DoInclude(std::shared_ptr tag, int flags) { for (const auto& entry : std::filesystem::directory_iterator(includedir)) { - if (!entry.is_regular_file() || !InspIRCd::Match(entry.path().filename(), "*.conf")) + if (!entry.is_regular_file() || !InspIRCd::Match(ConvToStr(entry.path().filename()), "*.conf")) continue; if (!ParseFile(entry.path().string(), flags, mandatorytag)) -- cgit v1.3.1-10-gc9f91