aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Objects
diff options
context:
space:
mode:
authorMelanie2011-01-12 16:20:38 +0100
committerMelanie2011-01-12 16:20:38 +0100
commit7f99a8c900251c59bc7cb7d8309a14ad5360de42 (patch)
tree3859626c6eb4f2f8d05fcbc7f0a7c270671fcecd /OpenSim/Region/CoreModules/World/Objects
parentRemove old guids from the examples, for completeness' sake (diff)
downloadopensim-SC-7f99a8c900251c59bc7cb7d8309a14ad5360de42.zip
opensim-SC-7f99a8c900251c59bc7cb7d8309a14ad5360de42.tar.gz
opensim-SC-7f99a8c900251c59bc7cb7d8309a14ad5360de42.tar.bz2
opensim-SC-7f99a8c900251c59bc7cb7d8309a14ad5360de42.tar.xz
Fix direct item give permissions
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs2
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))