[10936] Correctly show online status of 1.12.1 realms

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Unid 2010-12-29 20:48:06 +03:00 committed by VladimirMangos
parent ec6089bbd8
commit 7d41f3fadf
2 changed files with 2 additions and 2 deletions

View file

@ -924,7 +924,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid)
}
// Show offline state for unsupported client builds and locked realms (1.x clients not support locked state show)
if (!ok_build || (i->second.allowedSecurityLevel >= _accountSecurityLevel))
if (!ok_build || (i->second.allowedSecurityLevel > _accountSecurityLevel))
realmflags = RealmFlags(realmflags | REALM_FLAG_OFFLINE);
pkt << uint32(i->second.icon); // realm type