diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 7377e6d..dbc7def 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1648,7 +1648,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1648 | if (itemID == UUID.Zero) | 1648 | if (itemID == UUID.Zero) |
1649 | { | 1649 | { |
1650 | m_log.ErrorFormat( | 1650 | m_log.ErrorFormat( |
1651 | "[PRIM INVENTORY]: UpdateTaskInventory called with item ID Zero to update for {1}!", | 1651 | "[PRIM INVENTORY]: UpdateTaskInventory called with item ID Zero on update for {1}!", |
1652 | remoteClient.Name); | 1652 | remoteClient.Name); |
1653 | return; | 1653 | return; |
1654 | } | 1654 | } |
@@ -1686,7 +1686,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1686 | return; | 1686 | return; |
1687 | 1687 | ||
1688 | UUID copyID = UUID.Random(); | 1688 | UUID copyID = UUID.Random(); |
1689 | part.ParentGroup.AddInventoryItem(remoteClient.AgentId, primLocalID, item, copyID); | 1689 | bool modrights = Permissions.CanEditObject(part.ParentGroup, remoteClient); |
1690 | part.ParentGroup.AddInventoryItem(remoteClient.AgentId, primLocalID, item, copyID, modrights); | ||
1690 | m_log.InfoFormat( | 1691 | m_log.InfoFormat( |
1691 | "[PRIM INVENTORY]: Update with item {0} requested of prim {1} for {2}", | 1692 | "[PRIM INVENTORY]: Update with item {0} requested of prim {1} for {2}", |
1692 | item.Name, primLocalID, remoteClient.Name); | 1693 | item.Name, primLocalID, remoteClient.Name); |