diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index e961922..39f5a4a 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -1009,9 +1009,11 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1009 | return false; | 1009 | return false; |
1010 | 1010 | ||
1011 | if (part.OwnerID == owner) | 1011 | if (part.OwnerID == owner) |
1012 | return ((part.OwnerMask & PERM_COPY) != 0); | 1012 | { |
1013 | 1013 | if ((part.OwnerMask & PERM_COPY) == 0) | |
1014 | if (part.GroupID != UUID.Zero) | 1014 | return false; |
1015 | } | ||
1016 | else if (part.GroupID != UUID.Zero) | ||
1015 | { | 1017 | { |
1016 | if ((part.OwnerID == part.GroupID) && ((owner != part.LastOwnerID) || ((part.GroupMask & PERM_TRANS) == 0))) | 1018 | if ((part.OwnerID == part.GroupID) && ((owner != part.LastOwnerID) || ((part.GroupMask & PERM_TRANS) == 0))) |
1017 | return false; | 1019 | return false; |