[Loginserver] Minor cleanup (#4729)

This commit is contained in:
Chris Miles 2025-03-01 17:52:21 -06:00 committed by GitHub
parent a885bd9322
commit acb7584e26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -358,14 +358,12 @@ void WorldServer::ProcessLSAccountUpdate(uint16_t opcode, const EQ::Net::Packet
void WorldServer::HandleNewWorldserver(LoginserverNewWorldRequest *req)
{
if (m_is_server_logged_in) {
LogError(
"Login server was already marked as logged in, aborting"
);
LogInfo("Login server was already marked as logged in, returning");
return;
}
if (!HandleNewWorldserverValidation(req)) {
LogError("WorldServer::HandleNewWorldserver failed validation rules");
LogError("failed validation rules");
return;
}

View File

@ -80,7 +80,7 @@ private:
std::string m_server_version;
bool m_is_server_authorized_to_list;
bool m_is_server_logged_in;
bool m_is_server_trusted;
bool m_is_server_trusted; // this is primarily for worldserver being able to push updates to the loginserver
static void FormatWorldServerName(char *name, int8 server_list_type);
};