Removed redundant check during enter world

This commit is contained in:
Ali 2020-04-17 18:48:43 +03:00
parent 16cfad1966
commit 5d4e53bb25

View File

@ -714,7 +714,7 @@ bool Client::HandleEnterWorldPacket(const EQApplicationPacket *app) {
EQApplicationPacket *outapp;
uint32 tmpaccid = 0;
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);
eqs->Close();
return true;