From 8dee403e7cbc2817b8923ed691aaf228d203bb97 Mon Sep 17 00:00:00 2001 From: likeawindrammer <31085911+likeawindrammer@users.noreply.github.com> Date: Fri, 28 Aug 2020 07:05:49 -0600 Subject: [PATCH] Fix: Not using user's settings due to not specifying a group --- src/config_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config_manager.cpp b/src/config_manager.cpp index 928ef47..85f075e 100644 --- a/src/config_manager.cpp +++ b/src/config_manager.cpp @@ -218,6 +218,7 @@ bool ConfigManager::loadServerSettings(server_settings* settings) return false; } else { + config->beginGroup("Options"); if (config->value("advertise", "true").toString() != "true") settings->advertise_server = false; else @@ -225,6 +226,7 @@ bool ConfigManager::loadServerSettings(server_settings* settings) if (config->value("webao_enable", "true").toString() != "true") settings->ws_port = -1; + config->endGroup(); return true; }