aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-22 23:05:39 +0000
committerUbitUmarov2017-01-22 23:05:39 +0000
commitc673ef7e3cd5d9bb4d06094229d5a0647f49a36e (patch)
tree6d4db4cc8b12b6491e6c0c4bc893ec38f4958c64 /OpenSim/Region/Framework/Scenes/Scene.cs
parentdon't let part lastowner be the group (diff)
downloadopensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.zip
opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.tar.gz
opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.tar.bz2
opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.tar.xz
replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index ca298be..4fca4ed 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2770,7 +2770,7 @@ namespace OpenSim.Region.Framework.Scenes
2770 SceneObjectGroup sog = (SceneObjectGroup)e; 2770 SceneObjectGroup sog = (SceneObjectGroup)e;
2771 if (sog != null && !sog.IsAttachment) 2771 if (sog != null && !sog.IsAttachment)
2772 { 2772 {
2773 if (!exceptNoCopy || ((sog.GetEffectivePermissions() & (uint)PermissionMask.Copy) != 0)) 2773 if (!exceptNoCopy || ((sog.EffectiveOwnerPerms & (uint)PermissionMask.Copy) != 0))
2774 { 2774 {
2775 DeleteSceneObject((SceneObjectGroup)e, false); 2775 DeleteSceneObject((SceneObjectGroup)e, false);
2776 } 2776 }