diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 5da15ff..d320af4 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -551,15 +551,14 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
551 | // "[INVENTORY ACCESS MODULE]: Target of {0} in CreateItemForObject() is {1} {2}", | 551 | // "[INVENTORY ACCESS MODULE]: Target of {0} in CreateItemForObject() is {1} {2}", |
552 | // action, remoteClient.Name, userID); | 552 | // action, remoteClient.Name, userID); |
553 | } | 553 | } |
554 | else | 554 | else if (so.RootPart.OwnerID == so.RootPart.GroupID) |
555 | if (so.RootPart.OwnerID == so.RootPart.GroupID) | ||
556 | { | 555 | { |
557 | // Group owned objects go to the last owner | 556 | // Group owned objects go to the last owner before the object was transferred. |
558 | userID = so.RootPart.LastOwnerID; | 557 | userID = so.RootPart.LastOwnerID; |
559 | } | 558 | } |
560 | else | 559 | else |
561 | { | 560 | { |
562 | // All returns / deletes go to the object owner | 561 | // Other returns / deletes go to the object owner |
563 | // | 562 | // |
564 | userID = so.RootPart.OwnerID; | 563 | userID = so.RootPart.OwnerID; |
565 | 564 | ||