aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 7297450..9f806da 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -670,6 +670,13 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
670 //They can't even edit the object 670 //They can't even edit the object
671 return false; 671 return false;
672 } 672 }
673 SceneObjectPart part = scene.GetSceneObjectPart(objectID);
674 if (part == null)
675 return false;
676
677 if ((part.OwnerMask & PERM_COPY) == 0)
678 return false;
679
673 //If they can rez, they can duplicate 680 //If they can rez, they can duplicate
674 return CanRezObject(objectCount, owner, objectPosition, scene); 681 return CanRezObject(objectCount, owner, objectPosition, scene);
675 } 682 }