aboutsummaryrefslogtreecommitdiffstats
path: root/src/configparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
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<ConfigTag> 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))