From 78ed9c81ff1e7d0f5152b60c9bca0f01da2b75e6 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 6 Jan 2017 01:06:44 +0000 Subject: UserLevel must have a trusted source --- OpenSim/Region/Framework/Scenes/GodController.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/GodController.cs b/OpenSim/Region/Framework/Scenes/GodController.cs index a0feca8..5763e03 100644 --- a/OpenSim/Region/Framework/Scenes/GodController.cs +++ b/OpenSim/Region/Framework/Scenes/GodController.cs @@ -178,7 +178,6 @@ namespace OpenSim.Region.Framework.Scenes OSDMap godMap = new OSDMap(2); godMap.Add("ViewerUiIsGod", OSD.FromBoolean(m_viewerUiIsGod)); - godMap.Add("UserLevel", OSD.FromInteger(m_userLevel)); return godMap; } @@ -190,9 +189,6 @@ namespace OpenSim.Region.Framework.Scenes if (s.ContainsKey("ViewerUiIsGod")) m_viewerUiIsGod = s["ViewerUiIsGod"].AsBoolean(); - if (s.ContainsKey("UserLevel")) - m_userLevel = s["UserLevel"].AsInteger(); - SyncViewerState(); } -- cgit v1.1