From 7d41f3fadfd854d549ade8d0619edf270083bb2d Mon Sep 17 00:00:00 2001 From: Unid Date: Wed, 29 Dec 2010 20:48:06 +0300 Subject: [PATCH] [10936] Correctly show online status of 1.12.1 realms Signed-off-by: VladimirMangos --- src/realmd/AuthSocket.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/realmd/AuthSocket.cpp b/src/realmd/AuthSocket.cpp index f4359f9b7..9e0423d12 100644 --- a/src/realmd/AuthSocket.cpp +++ b/src/realmd/AuthSocket.cpp @@ -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 diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 332434dc1..1418e4c73 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10935" + #define REVISION_NR "10936" #endif // __REVISION_NR_H__