From cba15d5d7233ba38f76688de0ead8fb0a68df69e Mon Sep 17 00:00:00 2001 From: Emagi Date: Mon, 22 Jul 2024 09:42:50 -0400 Subject: [PATCH] Update net.cpp --- source/WorldServer/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }