aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver/Main.cpp
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2011-09-28 13:00:43 +0200
committerSpp <spp@jorge.gr>2011-09-28 13:00:43 +0200
commitbe12603150d8392ce1596dddc7d01ff716e1e67e (patch)
tree94d64c59f7c9c20b1bfb1f41a7410c7aca8d406a /src/server/worldserver/Main.cpp
parent71228f90bb281f07901859272b4868b7d63a6eea (diff)
Configuration/ConfigMgr: converted from singleton to namespace with free functions.
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rwxr-xr-xsrc/server/worldserver/Main.cpp2
1 files changed, 1 insertions, 1 deletions
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!");