aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2010-06-30 21:35:05 +0100
committerMelanie2010-06-30 21:35:05 +0100
commit46a531d8652ea935aaa10694df73e4b9a26ae829 (patch)
treeb1f54ccc7d44744d1c6f37fd93071b8eff2eaba4 /OpenSim/Region/Framework
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-46a531d8652ea935aaa10694df73e4b9a26ae829.zip
opensim-SC_OLD-46a531d8652ea935aaa10694df73e4b9a26ae829.tar.gz
opensim-SC_OLD-46a531d8652ea935aaa10694df73e4b9a26ae829.tar.bz2
opensim-SC_OLD-46a531d8652ea935aaa10694df73e4b9a26ae829.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index e61132e..0ac427f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1592,7 +1592,17 @@ namespace OpenSim.Region.Framework.Scenes
1592 // So that we know the database is upto date, 1592 // So that we know the database is upto date,
1593 // for when deleting the object from it 1593 // for when deleting the object from it
1594 ForceSceneObjectBackup(grp); 1594 ForceSceneObjectBackup(grp);
1595 if (remoteClient != null) 1595
1596 if (remoteClient == null)
1597 {
1598 // Autoreturn has a null client. Nothing else does. So
1599 // allow only returns
1600 if (action != DeRezAction.Return)
1601 return;
1602
1603 permissionToTakeCopy = false;
1604 }
1605 else
1596 { 1606 {
1597 if (!Permissions.CanTakeCopyObject(grp.UUID, remoteClient.AgentId)) 1607 if (!Permissions.CanTakeCopyObject(grp.UUID, remoteClient.AgentId))
1598 permissionToTakeCopy = false; 1608 permissionToTakeCopy = false;
@@ -1601,7 +1611,6 @@ namespace OpenSim.Region.Framework.Scenes
1601 1611
1602 if (!Permissions.CanDeleteObject(grp.UUID, remoteClient.AgentId)) 1612 if (!Permissions.CanDeleteObject(grp.UUID, remoteClient.AgentId))
1603 permissionToDelete = false; 1613 permissionToDelete = false;
1604
1605 } 1614 }
1606 } 1615 }
1607 1616