make configuration more understandable

This commit is contained in:
Syping 2024-03-25 11:15:08 +01:00
parent 4e71f417d0
commit 420f536c9b
2 changed files with 9 additions and 2 deletions

View file

@ -507,7 +507,7 @@ bool settings::parse(const std::string &data, bool initialize)
try {
dpp::json json;
try {
json = dpp::json::parse(data);
json = dpp::json::parse(data, nullptr, true, true);
}
catch (const std::exception &exception) {
std::cerr << "[Exception] " << exception.what() << std::endl;