summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/configmanager.cpp1
-rw-r--r--src/gui/widgets/tabs/setup_other.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_players.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index b34688b76..13f917d1e 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -166,6 +166,7 @@ void ConfigManager::initConfiguration()
config.init(configPath);
logger->log1("init 3");
setConfigDefaults(config);
+ setConfigDefaults(serverConfig);
logger->log("configuration file: " + configPath);
}
}
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp
index 656192f18..6587b1172 100644
--- a/src/gui/widgets/tabs/setup_other.cpp
+++ b/src/gui/widgets/tabs/setup_other.cpp
@@ -306,12 +306,14 @@ Setup_Other::Setup_Other(const Widget2 *const widget) :
new SetupItemCheckBox(_("Enable guild bot support and disable native "
"guild support"), "", "enableGuildBot", this,
"enableGuildBotEvent",
+ "0",
MainConfig_false);
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Enable manamarket bot support"),
"", "enableManaMarketBot", this,
"enableManaMarketBotEvent",
+ "0",
MainConfig_false);
diff --git a/src/gui/widgets/tabs/setup_players.cpp b/src/gui/widgets/tabs/setup_players.cpp
index 97865c91e..c04f6fc67 100644
--- a/src/gui/widgets/tabs/setup_players.cpp
+++ b/src/gui/widgets/tabs/setup_players.cpp
@@ -181,6 +181,7 @@ Setup_Players::Setup_Players(const Widget2 *const widget) :
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Enable remote commands"),
"", "enableRemoteCommands", this, "enableRemoteCommandsEvent",
+ "1",
MainConfig_false);
// TRANSLATORS: settings option