aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index ba99640..09b58e0 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1790,7 +1790,7 @@ namespace OpenSim.Region.Environment.Scenes
1790 IClientAPI controllingClient) 1790 IClientAPI controllingClient)
1791 { 1791 {
1792 // First check that this is the sim owner 1792 // First check that this is the sim owner
1793 if (agentID == RegionInfo.MasterAvatarAssignedUUID) 1793 if (m_permissionManager.GenericEstatePermission(agentID))
1794 { 1794 {
1795 // User needs to be logged into this sim 1795 // User needs to be logged into this sim
1796 if (m_scenePresences.ContainsKey(agentID)) 1796 if (m_scenePresences.ContainsKey(agentID))
@@ -1826,7 +1826,7 @@ namespace OpenSim.Region.Environment.Scenes
1826 LLUUID kickUserID = new LLUUID("44e87126e7944ded05b37c42da3d5cdb"); 1826 LLUUID kickUserID = new LLUUID("44e87126e7944ded05b37c42da3d5cdb");
1827 if (m_scenePresences.ContainsKey(agentID) || agentID == kickUserID) 1827 if (m_scenePresences.ContainsKey(agentID) || agentID == kickUserID)
1828 { 1828 {
1829 if (godID == RegionInfo.MasterAvatarAssignedUUID) 1829 if (m_permissionManager.GenericEstatePermission(godID))
1830 { 1830 {
1831 if (agentID == kickUserID) 1831 if (agentID == kickUserID)
1832 { 1832 {