diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp index 2f64c5001..557ca91ae 100644 --- a/src/game/Level0.cpp +++ b/src/game/Level0.cpp @@ -157,7 +157,8 @@ bool ChatHandler::HandleGMListIngameCommand(const char* /*args*/) HashMapHolder::MapType::const_iterator itr = m.begin(); for(; itr != m.end(); ++itr) { - if ((itr->second->isGameMaster() || itr->second->GetSession()->GetSecurity() <= sWorld.getConfig(CONFIG_GM_LEVEL_IN_GM_LIST)) && + AccountTypes itr_sec = itr->second->GetSession()->GetSecurity(); + if ((itr->second->isGameMaster() || itr_sec > SEC_PLAYER && itr_sec <= sWorld.getConfig(CONFIG_GM_LEVEL_IN_GM_LIST)) && (!m_session || itr->second->IsVisibleGloballyFor(m_session->GetPlayer()))) { if(first) diff --git a/src/mangosd/mangosd.conf.dist.in b/src/mangosd/mangosd.conf.dist.in index 2ec285160..daeb787aa 100644 --- a/src/mangosd/mangosd.conf.dist.in +++ b/src/mangosd/mangosd.conf.dist.in @@ -874,7 +874,7 @@ Channel.SilentlyGMJoin = 0 # # GM.InGMList.Level # Max GM level showed in GM list (if visible) in non-GM state (.gm off) -# 0 (only players) +# 0 (none) # 1 (only moderators) # 2 (only gamemasters) # Default: 3 (anyone) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2d3c5261b..02ffa0853 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 "8188" + #define REVISION_NR "8189" #endif // __REVISION_NR_H__