Core/Auth: Do not close Authserver at startup when no valid realms found

This commit is contained in:
CraftedRO
2025-03-27 22:44:46 +02:00
committed by GitHub
parent bd50bee973
commit 1c10fdfa1d

View File

@@ -192,12 +192,6 @@ int main(int argc, char** argv)
std::shared_ptr<void> sRealmListHandle(nullptr, [](void*) { sRealmList->Close(); });
if (sRealmList->GetRealms().empty())
{
TC_LOG_ERROR("server.authserver", "No valid realms specified.");
return 1;
}
// Start the listening port (acceptor) for auth connections
int32 port = sConfigMgr->GetIntDefault("RealmServerPort", 3724);
if (port < 0 || port > 0xFFFF)