mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Removed redundant check during enter world
This commit is contained in:
parent
16cfad1966
commit
5d4e53bb25
@ -714,7 +714,7 @@ bool Client::HandleEnterWorldPacket(const EQApplicationPacket *app) {
|
|||||||
EQApplicationPacket *outapp;
|
EQApplicationPacket *outapp;
|
||||||
uint32 tmpaccid = 0;
|
uint32 tmpaccid = 0;
|
||||||
charid = database.GetCharacterInfo(char_name, &tmpaccid, &zone_id, &instance_id);
|
charid = database.GetCharacterInfo(char_name, &tmpaccid, &zone_id, &instance_id);
|
||||||
if (charid == 0 || tmpaccid != GetAccountID()) {
|
if (charid == 0) {
|
||||||
LogInfo("Could not get CharInfo for [{}]", char_name);
|
LogInfo("Could not get CharInfo for [{}]", char_name);
|
||||||
eqs->Close();
|
eqs->Close();
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user