aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 964e39c..e2ca975 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -1109,6 +1109,16 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1109 1109
1110 if ((task.RootPart.EveryoneMask & PERM_COPY) != 0) 1110 if ((task.RootPart.EveryoneMask & PERM_COPY) != 0)
1111 permission = true; 1111 permission = true;
1112
1113 if ((task.GetEffectivePermissions() & PERM_COPY) == 0)
1114 permission = false;
1115 }
1116 else
1117 {
1118 SceneObjectGroup task = (SceneObjectGroup)m_scene.Entities[objectID];
1119
1120 if ((task.GetEffectivePermissions() & PERM_COPY) == 0)
1121 permission = false;
1112 } 1122 }
1113 return permission; 1123 return permission;
1114 } 1124 }