mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module
This commit is contained in:
@@ -2770,7 +2770,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
SceneObjectGroup sog = (SceneObjectGroup)e;
|
||||
if (sog != null && !sog.IsAttachment)
|
||||
{
|
||||
if (!exceptNoCopy || ((sog.GetEffectivePermissions() & (uint)PermissionMask.Copy) != 0))
|
||||
if (!exceptNoCopy || ((sog.EffectiveOwnerPerms & (uint)PermissionMask.Copy) != 0))
|
||||
{
|
||||
DeleteSceneObject((SceneObjectGroup)e, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user