diff options
author | Spp <spp@jorge.gr> | 2011-09-28 13:00:43 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2011-09-28 13:00:43 +0200 |
commit | be12603150d8392ce1596dddc7d01ff716e1e67e (patch) | |
tree | 94d64c59f7c9c20b1bfb1f41a7410c7aca8d406a /src/server/worldserver/Main.cpp | |
parent | 71228f90bb281f07901859272b4868b7d63a6eea (diff) |
Configuration/ConfigMgr: converted from singleton to namespace with free functions.
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rwxr-xr-x | 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 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!"); |