diff options
author | Melanie | 2011-01-12 16:20:38 +0100 |
---|---|---|
committer | Melanie | 2011-01-12 16:20:38 +0100 |
commit | 7f99a8c900251c59bc7cb7d8309a14ad5360de42 (patch) | |
tree | 3859626c6eb4f2f8d05fcbc7f0a7c270671fcecd /OpenSim/Region/CoreModules/World | |
parent | Remove old guids from the examples, for completeness' sake (diff) | |
download | opensim-SC_OLD-7f99a8c900251c59bc7cb7d8309a14ad5360de42.zip opensim-SC_OLD-7f99a8c900251c59bc7cb7d8309a14ad5360de42.tar.gz opensim-SC_OLD-7f99a8c900251c59bc7cb7d8309a14ad5360de42.tar.bz2 opensim-SC_OLD-7f99a8c900251c59bc7cb7d8309a14ad5360de42.tar.xz |
Fix direct item give permissions
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index 568ba19..be399ff 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -215,7 +215,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
215 | part.NextOwnerMask; | 215 | part.NextOwnerMask; |
216 | item.GroupPermissions = part.GroupMask & | 216 | item.GroupPermissions = part.GroupMask & |
217 | part.NextOwnerMask; | 217 | part.NextOwnerMask; |
218 | item.CurrentPermissions |= 16; // Slam! | 218 | item.Flags |= (uint)InventoryItemFlags.ObjectSlamPerm; |
219 | item.CreationDate = Util.UnixTimeSinceEpoch(); | 219 | item.CreationDate = Util.UnixTimeSinceEpoch(); |
220 | 220 | ||
221 | if (m_scene.AddInventoryItem(item)) | 221 | if (m_scene.AddInventoryItem(item)) |