diff options
author | Shauren <shauren.trinity@gmail.com> | 2013-07-15 17:31:44 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2013-07-15 17:31:44 +0200 |
commit | 779a59e7e218e340ac5cefd3297ea970d804239d (patch) | |
tree | c47bf18ae837020983a325139df4de49627f1f8e /src/server/worldserver/Main.cpp | |
parent | baeecba6c9e3a2b9d4e98551b9746d27016305a2 (diff) |
Core/Config: Refactored ConfigMgr
* Loading initial configuration files is now separate from loading any additional custom configs
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rw-r--r-- | src/server/worldserver/Main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index f9c672b4945..33ece8197f8 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -129,7 +129,7 @@ extern int main(int argc, char **argv) ++c; } - if (!ConfigMgr::Load(cfg_file)) + if (!sConfigMgr->LoadInitial(cfg_file)) { printf("Invalid or missing configuration file : %s\n", cfg_file); printf("Verify that the file exists and has \'[worldserver]' written in the top of the file!\n"); |