From be12603150d8392ce1596dddc7d01ff716e1e67e Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 28 Sep 2011 13:00:43 +0200 Subject: Configuration/ConfigMgr: converted from singleton to namespace with free functions. --- 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 ede65d07910..85f10e0cf9b 100755 --- 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 (!sConfig->SetSource(cfg_file)) + if (!ConfigMgr::Load(cfg_file)) { sLog->outError("Invalid or missing configuration file : %s", cfg_file); sLog->outError("Verify that the file exists and has \'[worldserver]' written in the top of the file!"); -- cgit v1.2.3