aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 87c0027..7bd1bb3 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -502,7 +502,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
502 public virtual bool CanCopyObject(LLUUID user, LLUUID obj) 502 public virtual bool CanCopyObject(LLUUID user, LLUUID obj)
503 { 503 {
504 bool permission = GenericObjectPermission(user, obj); 504 bool permission = GenericObjectPermission(user, obj);
505 if (!permission) 505 if (permission)
506 { 506 {
507 if (!m_scene.Entities.ContainsKey(obj)) 507 if (!m_scene.Entities.ContainsKey(obj))
508 { 508 {
@@ -520,6 +520,9 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
520 // Added this because at this point in time it wouldn't be wise for 520 // Added this because at this point in time it wouldn't be wise for
521 // the administrator object permissions to take effect. 521 // the administrator object permissions to take effect.
522 LLUUID objectOwner = task.OwnerID; 522 LLUUID objectOwner = task.OwnerID;
523
524 //Check ExternalChecks!
525 if (m_scene.ExternalChecks.ExternalChecksCanRezObject(task.Children.Count, objectOwner, task.GroupCentrePoint) == false) return false;
523 if ((task.RootPart.EveryoneMask & PERM_COPY) != 0) 526 if ((task.RootPart.EveryoneMask & PERM_COPY) != 0)
524 permission = true; 527 permission = true;
525 } 528 }