Revert "Merge pull request #77 from j883376/cleanups"

This reverts commit 4ff2efea43, reversing
changes made to e811e3975b.
This commit is contained in:
KimLS
2013-06-27 12:50:20 -07:00
parent 82f4b4ee53
commit d25205d9d3
29 changed files with 181 additions and 151 deletions
+4 -4
View File
@@ -82,7 +82,7 @@ int main() {
_log(UCS__INIT, "Loading server configuration failed.");
return 1;
return(1);
}
Config = ucsconfig::get();
@@ -103,7 +103,7 @@ int main() {
Config->DatabaseDB.c_str(),
Config->DatabasePort)) {
_log(WORLD__INIT_ERR, "Cannot continue without a database connection.");
return 1;
return(1);
}
char tmp[64];
@@ -137,11 +137,11 @@ int main() {
if (signal(SIGINT, CatchSignal) == SIG_ERR) {
_log(UCS__ERROR, "Could not set signal handler");
return 1;
return 0;
}
if (signal(SIGTERM, CatchSignal) == SIG_ERR) {
_log(UCS__ERROR, "Could not set signal handler");
return 1;
return 0;
}
worldserver = new WorldServer;