mirror of
https://github.com/araxiaonline/azerothcore-wotlk.git
synced 2026-06-13 03:32:27 -04:00
Updated casting around GetOption and changed default to all
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user