minor formatting changes from last commit (4486n7d)

0.7.3-post-fixes
Justin Clark-Casey (justincc) 2012-02-16 03:37:40 +00:00
parent 4486b7d8e8
commit 912aac3447
1 changed files with 3 additions and 4 deletions

View File

@ -551,15 +551,14 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
// "[INVENTORY ACCESS MODULE]: Target of {0} in CreateItemForObject() is {1} {2}",
// action, remoteClient.Name, userID);
}
else
if (so.RootPart.OwnerID == so.RootPart.GroupID)
else if (so.RootPart.OwnerID == so.RootPart.GroupID)
{
// Group owned objects go to the last owner
// Group owned objects go to the last owner before the object was transferred.
userID = so.RootPart.LastOwnerID;
}
else
{
// All returns / deletes go to the object owner
// Other returns / deletes go to the object owner
//
userID = so.RootPart.OwnerID;