diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index 6854b53..d1a109e 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -206,12 +206,12 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
206 | item.InvType = (int)InventoryType.Object; | 206 | item.InvType = (int)InventoryType.Object; |
207 | item.Folder = categoryID; | 207 | item.Folder = categoryID; |
208 | 208 | ||
209 | perms = group.GetEffectivePermissions(false); | 209 | perms = group.CurrentAndFoldedNextPermissions(); |
210 | 210 | // apply parts inventory next perms | |
211 | PermissionsUtil.ApplyNoModFoldedPermissions(perms, ref perms); | 211 | PermissionsUtil.ApplyNoModFoldedPermissions(perms, ref perms); |
212 | 212 | // change to next owner perms | |
213 | perms &= part.NextOwnerMask; | 213 | perms &= part.NextOwnerMask; |
214 | 214 | // update folded | |
215 | perms = PermissionsUtil.FixAndFoldPermissions(perms); | 215 | perms = PermissionsUtil.FixAndFoldPermissions(perms); |
216 | 216 | ||
217 | item.BasePermissions = perms; | 217 | item.BasePermissions = perms; |