Updated casting around GetOption and changed default to all

This commit is contained in:
2024-09-05 19:39:37 -04:00
parent 1254eaf7c3
commit 5359cc3173
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ bool StartDB()
MySQL::Library_Init();
// Load modules conditionally based on what modules are allowed to auto-update or none
std::string modules = sConfigMgr->GetOption("Updates.AllowedModules", std::string(""));
std::string modules = sConfigMgr->GetOption<std::string>("Updates.AllowedModules", "all");
LOG_INFO("dbimport", "Loading modules: {}", modules.empty() ? "none" : modules);
DatabaseLoader loader =

View File

@@ -168,7 +168,7 @@ Updates.EnableDatabases = 7
# Example: "mod_name,mod_name2,mod_name3" (selected modules)
# "all" - (All modules are allowed)
#
Updates.AllowedModules = ""
Updates.AllowedModules = "all"
#
# Updates.AutoSetup