mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Loginserver] Minor cleanup (#4729)
This commit is contained in:
parent
a885bd9322
commit
acb7584e26
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user