diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index ca392b8..6854b53 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -216,12 +216,10 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
216 | 216 | ||
217 | item.BasePermissions = perms; | 217 | item.BasePermissions = perms; |
218 | item.CurrentPermissions = perms; | 218 | item.CurrentPermissions = perms; |
219 | 219 | item.NextPermissions = part.NextOwnerMask & perms; | |
220 | perms &= part.NextOwnerMask; | ||
221 | item.NextPermissions = perms; | ||
222 | |||
223 | item.EveryOnePermissions = part.EveryoneMask & perms; | 220 | item.EveryOnePermissions = part.EveryoneMask & perms; |
224 | item.GroupPermissions = part.GroupMask & perms; | 221 | item.GroupPermissions = part.GroupMask & perms; |
222 | |||
225 | item.Flags |= (uint)InventoryItemFlags.ObjectSlamPerm; | 223 | item.Flags |= (uint)InventoryItemFlags.ObjectSlamPerm; |
226 | item.CreationDate = Util.UnixTimeSinceEpoch(); | 224 | item.CreationDate = Util.UnixTimeSinceEpoch(); |
227 | 225 | ||