diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 8eee864..18d164f 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -2022,7 +2022,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
2022 | 2022 | ||
2023 | uint perms = GetObjectPermissions(sp, sog, true); | 2023 | uint perms = GetObjectPermissions(sp, sog, true); |
2024 | if((perms & (uint)PermissionMask.Copy) == 0) | 2024 | if((perms & (uint)PermissionMask.Copy) == 0) |
2025 | { | ||
2026 | sp.ControllingClient.SendAgentAlertMessage("Copying this item has been denied by the permissions system", false); | ||
2025 | return false; | 2027 | return false; |
2028 | } | ||
2026 | 2029 | ||
2027 | if(sog.OwnerID != sp.UUID && (perms & (uint)PermissionMask.Transfer) == 0) | 2030 | if(sog.OwnerID != sp.UUID && (perms & (uint)PermissionMask.Transfer) == 0) |
2028 | return false; | 2031 | return false; |