aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver/Main.cpp
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2014-07-30 22:26:59 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2014-07-30 22:26:59 +0200
commita917b6599f599419767b8683b591a96d9cdb7092 (patch)
tree16af20ae09d8a13eca0f74d00e5027da6ed608be /src/server/worldserver/Main.cpp
parentd89a5d2d176000535ca857ab6ce600607a747358 (diff)
parent01b733eb69691ccd1ac8e9884ff2a4cb4643a7cf (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/game/Server/WorldSocket.cpp src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rw-r--r--src/server/worldserver/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp
index 02e6268cd26..3afa9e84e8b 100644
--- a/src/server/worldserver/Main.cpp
+++ b/src/server/worldserver/Main.cpp
@@ -109,10 +109,10 @@ extern int main(int argc, char** argv)
WinServiceRun();
#endif
- if (!sConfigMgr->LoadInitial(configFile))
+ std::string configError;
+ if (!sConfigMgr->LoadInitial(configFile, configError))
{
- printf("Invalid or missing configuration file : %s\n", configFile.c_str());
- printf("Verify that the file exists and has \'[worldserver]' written in the top of the file!\n");
+ printf("Error in config file: %s\n", configError.c_str());
return 1;
}