diff options
author | UbitUmarov | 2017-01-22 23:05:39 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-22 23:05:39 +0000 |
commit | c673ef7e3cd5d9bb4d06094229d5a0647f49a36e (patch) | |
tree | 6d4db4cc8b12b6491e6c0c4bc893ec38f4958c64 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | don't let part lastowner be the group (diff) | |
download | opensim-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-x | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
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 | } |