aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index a034c06..063ac73 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3772,10 +3772,13 @@ namespace OpenSim.Region.Framework.Scenes
3772 // who is granted god powers, but has no god level set. 3772 // who is granted god powers, but has no god level set.
3773 // 3773 //
3774 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, agentID); 3774 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, agentID);
3775 if (account != null && account.UserLevel > 0) 3775 if (account != null)
3776 GodLevel = account.UserLevel; 3776 {
3777 else 3777 if (account.UserLevel > 0)
3778 GodLevel = 200; // local or HG 3778 GodLevel = account.UserLevel;
3779 else
3780 GodLevel = 200;
3781 }
3779 } 3782 }
3780 else 3783 else
3781 { 3784 {