diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 04:00:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 04:00:36 +0300 |
commit | 1614644f5367a7a17fb5bc754b1ee47561d5905b (patch) | |
tree | 22ddb02f9927d03ebb515561559ccbfbf97fde1f /src/configmanager.cpp | |
parent | 003043714367009efaf07015cc63a901ae2ee47c (diff) | |
download | manaverse-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.gz manaverse-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.bz2 manaverse-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.xz manaverse-1614644f5367a7a17fb5bc754b1ee47561d5905b.zip |
Remove default parameters from configuration.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r-- | src/configmanager.cpp | 8 |
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); |