diff options
Diffstat (limited to 'src/logger.cpp')
| -rw-r--r-- | src/logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 2e6d02348..91d1dd923 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -72,7 +72,7 @@ void LogManager::OpenFileLogs() for (const auto& [_, tag] : ServerInstance->Config->ConfTags("log")) { - std::string method = tag->getString("method"); + const std::string method = tag->getString("method", "file", 1); if (!stdalgo::string::equalsci(method, "file")) { continue; |
