diff --git a/source/WorldServer/net.cpp b/source/WorldServer/net.cpp index 50c7ec7..d922298 100644 --- a/source/WorldServer/net.cpp +++ b/source/WorldServer/net.cpp @@ -148,8 +148,8 @@ int main(int argc, char** argv) { //remove this when all database calls are using the new database class if (!database.Init()) { - LogStop(); LogWrite(INIT__ERROR, 0, "Init", "Database init failed!"); + LogStop(); return EXIT_FAILURE; }