Merge pull request #3076 from cptpcrd/reload-config
Fix reloading config
This commit is contained in:
commit
487ab23259
|
@ -162,6 +162,7 @@ void Config::load(const std::string &config) {
|
||||||
}
|
}
|
||||||
config_file_ = file.value();
|
config_file_ = file.value();
|
||||||
spdlog::info("Using configuration file {}", config_file_);
|
spdlog::info("Using configuration file {}", config_file_);
|
||||||
|
config_ = Json::Value();
|
||||||
setupConfig(config_, config_file_, 0);
|
setupConfig(config_, config_file_, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue