diff options
| author | 2021-06-07 07:43:03 +0100 | |
|---|---|---|
| committer | 2021-06-07 10:40:18 +0100 | |
| commit | cefae0ed22ffce622c65024b54305bdd0bb58004 (patch) | |
| tree | 798b328ca96d7ed67cbd0dbc87b10dc1a5f93615 /src/configparser.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Fix MSVC compatibility issues.
Diffstat (limited to 'src/configparser.cpp')
| -rw-r--r-- | src/configparser.cpp | 2 |
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)) |
