From 0bff4215fee93289fb8a7b3e72a868407fd3bfb5 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 1 Nov 2008 16:49:52 +0000 Subject: Correct the handling of the creator field on inventory gives --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 733392f..0ebdf69 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -439,7 +439,7 @@ namespace OpenSim.Region.Environment.Scenes // Insert a copy of the item into the recipient InventoryItemBase itemCopy = new InventoryItemBase(); itemCopy.Owner = recipientClient.AgentId; - itemCopy.Creator = senderId; + itemCopy.Creator = item.Creator; itemCopy.ID = UUID.Random(); itemCopy.AssetID = item.AssetID; itemCopy.Description = item.Description; @@ -477,8 +477,8 @@ namespace OpenSim.Region.Environment.Scenes itemCopy.EveryOnePermissions = item.EveryOnePermissions & item.NextPermissions; itemCopy.BasePermissions = item.BasePermissions; } - itemCopy.GroupID = item.GroupID; - itemCopy.GroupOwned = item.GroupOwned; + itemCopy.GroupID = UUID.Zero; + itemCopy.GroupOwned = false; itemCopy.Flags = item.Flags; itemCopy.SalePrice = item.SalePrice; itemCopy.SaleType = item.SaleType; -- cgit v1.1