Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
[Code Cleanup] Resolve some warnings in loginserver/world_server.cpp (E…
Browse files Browse the repository at this point in the history
  • Loading branch information
mackal authored and catapultam-habeo committed Mar 27, 2023
1 parent b3357d3 commit bbf7a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loginserver/world_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ WorldServer::~WorldServer() = default;

void WorldServer::Reset()
{
m_server_id;
m_server_id = 0;
m_zones_booted = 0;
m_players_online = 0;
m_server_status = 0;
Expand Down Expand Up @@ -448,7 +448,7 @@ void WorldServer::ProcessLSAccountUpdate(uint16_t opcode, const EQ::Net::Packet
name.assign(loginserver_update->useraccount);
password.assign(loginserver_update->userpassword);

if (loginserver_update->user_email) {
if (loginserver_update->user_email[0] != '\0') {
email.assign(loginserver_update->user_email);
}

Expand Down

0 comments on commit bbf7a7b

Please sign in to comment.