diff options
author | Melanie Thielker | 2017-01-06 01:06:44 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-06 01:06:44 +0000 |
commit | 78ed9c81ff1e7d0f5152b60c9bca0f01da2b75e6 (patch) | |
tree | dd4d80a638119dc232c6edfc1cb51049c944e4b5 /OpenSim/Region/Framework | |
parent | Restructure god level and permissions (diff) | |
download | opensim-SC_OLD-78ed9c81ff1e7d0f5152b60c9bca0f01da2b75e6.zip opensim-SC_OLD-78ed9c81ff1e7d0f5152b60c9bca0f01da2b75e6.tar.gz opensim-SC_OLD-78ed9c81ff1e7d0f5152b60c9bca0f01da2b75e6.tar.bz2 opensim-SC_OLD-78ed9c81ff1e7d0f5152b60c9bca0f01da2b75e6.tar.xz |
UserLevel must have a trusted source
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/GodController.cs | 4 |
1 files changed, 0 insertions, 4 deletions
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 | |||
178 | OSDMap godMap = new OSDMap(2); | 178 | OSDMap godMap = new OSDMap(2); |
179 | 179 | ||
180 | godMap.Add("ViewerUiIsGod", OSD.FromBoolean(m_viewerUiIsGod)); | 180 | godMap.Add("ViewerUiIsGod", OSD.FromBoolean(m_viewerUiIsGod)); |
181 | godMap.Add("UserLevel", OSD.FromInteger(m_userLevel)); | ||
182 | 181 | ||
183 | return godMap; | 182 | return godMap; |
184 | } | 183 | } |
@@ -190,9 +189,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
190 | if (s.ContainsKey("ViewerUiIsGod")) | 189 | if (s.ContainsKey("ViewerUiIsGod")) |
191 | m_viewerUiIsGod = s["ViewerUiIsGod"].AsBoolean(); | 190 | m_viewerUiIsGod = s["ViewerUiIsGod"].AsBoolean(); |
192 | 191 | ||
193 | if (s.ContainsKey("UserLevel")) | ||
194 | m_userLevel = s["UserLevel"].AsInteger(); | ||
195 | |||
196 | SyncViewerState(); | 192 | SyncViewerState(); |
197 | } | 193 | } |
198 | 194 | ||