summaryrefslogtreecommitdiff
path: root/src/authserver/Main.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-09-26 12:52:16 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-09-26 12:52:16 +0200
commitc85b1b591e7a3fde24c1ed7e4655adc54c844bfb (patch)
tree40ae5ba52a604ae38f665326f06a50b0157c511f /src/authserver/Main.cpp
parent30e6abf6ab30e1ee980ab3f21c176e504501d0c9 (diff)
Continue to run server even without custom .conf
You should be able to run both authserver and worldserver with default configurations Also changed *DatabaseInfo to fit information defined in our bash installer and create sql
Diffstat (limited to 'src/authserver/Main.cpp')
-rw-r--r--src/authserver/Main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/authserver/Main.cpp b/src/authserver/Main.cpp
index 8594f301e1..57ed11e458 100644
--- a/src/authserver/Main.cpp
+++ b/src/authserver/Main.cpp
@@ -96,15 +96,14 @@ extern int main(int argc, char** argv)
cfg_def_file += ".dist";
if (!sConfigMgr->LoadInitial(cfg_def_file.c_str())) {
- printf("Invalid or missing default configuration file : %s\n", cfg_def_file.c_str());
+ printf("ERROR: Invalid or missing default configuration file : %s\n", cfg_def_file.c_str());
return 1;
}
if (!sConfigMgr->LoadMore(configFile))
{
- printf("Invalid or missing configuration file : %s\n", configFile);
+ printf("WARNING: Invalid or missing configuration file : %s\n", configFile);
printf("Verify that the file exists and has \'[authserver]\' written in the top of the file!\n");
- return 1;
}
sLog->outString("%s (authserver)", _FULLVERSION);