From 779a59e7e218e340ac5cefd3297ea970d804239d Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 15 Jul 2013 17:31:44 +0200 Subject: Core/Config: Refactored ConfigMgr * Loading initial configuration files is now separate from loading any additional custom configs --- src/server/worldserver/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/worldserver/Main.cpp') 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"); -- cgit v1.2.3