aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Objects
diff options
context:
space:
mode:
authorMelanie2011-01-12 21:39:13 +0000
committerMelanie2011-01-12 21:39:13 +0000
commit914e4b319ee0adba72bfbfebd878827bfdfde843 (patch)
tree5e48c12157f98fe2529f9c5c7781bc18488266c8 /OpenSim/Region/CoreModules/World/Objects
parentUse ToString() rather than a cast (more robust) (diff)
downloadopensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.zip
opensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.tar.gz
opensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.tar.bz2
opensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.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))