summaryrefslogtreecommitdiff
path: root/src/configmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 04:00:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 04:00:36 +0300
commit1614644f5367a7a17fb5bc754b1ee47561d5905b (patch)
tree22ddb02f9927d03ebb515561559ccbfbf97fde1f /src/configmanager.cpp
parent003043714367009efaf07015cc63a901ae2ee47c (diff)
downloadmv-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.gz
mv-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.bz2
mv-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.xz
mv-1614644f5367a7a17fb5bc754b1ee47561d5905b.zip
Remove default parameters from configuration.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r--src/configmanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index 13f917d1e..0de200d00 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -78,7 +78,9 @@ void ConfigManager::initServerConfig(const std::string &serverName)
if (configFile != nullptr)
{
fclose(configFile);
- serverConfig.init(configPath);
+ serverConfig.init(configPath,
+ UseVirtFs_false,
+ SkipError_false);
setConfigDefaults(serverConfig);
logger->log("serverConfigPath: " + configPath);
}
@@ -163,7 +165,9 @@ void ConfigManager::initConfiguration()
else
{
fclose(configFile);
- config.init(configPath);
+ config.init(configPath,
+ UseVirtFs_false,
+ SkipError_false);
logger->log1("init 3");
setConfigDefaults(config);
setConfigDefaults(serverConfig);