UserLevel must have a trusted source

melanie
Melanie Thielker 2017-01-06 01:06:44 +00:00
parent ad8915f154
commit 78ed9c81ff
1 changed files with 0 additions and 4 deletions

View File

@ -178,7 +178,6 @@ namespace OpenSim.Region.Framework.Scenes
OSDMap godMap = new OSDMap(2); OSDMap godMap = new OSDMap(2);
godMap.Add("ViewerUiIsGod", OSD.FromBoolean(m_viewerUiIsGod)); godMap.Add("ViewerUiIsGod", OSD.FromBoolean(m_viewerUiIsGod));
godMap.Add("UserLevel", OSD.FromInteger(m_userLevel));
return godMap; return godMap;
} }
@ -190,9 +189,6 @@ namespace OpenSim.Region.Framework.Scenes
if (s.ContainsKey("ViewerUiIsGod")) if (s.ContainsKey("ViewerUiIsGod"))
m_viewerUiIsGod = s["ViewerUiIsGod"].AsBoolean(); m_viewerUiIsGod = s["ViewerUiIsGod"].AsBoolean();
if (s.ContainsKey("UserLevel"))
m_userLevel = s["UserLevel"].AsInteger();
SyncViewerState(); SyncViewerState();
} }