aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Permissions
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Permissions')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index b6a0c23..0585213 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -757,10 +757,9 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
757 SceneObjectPart part = scene.GetSceneObjectPart(objectID); 757 SceneObjectPart part = scene.GetSceneObjectPart(objectID);
758 if (part.OwnerID != moverID) 758 if (part.OwnerID != moverID)
759 { 759 {
760 if (part.ParentGroup != null && 760 if (part.ParentGroup != null && !part.ParentGroup.IsDeleted)
761 part.ParentGroup.RootPart != null)
762 { 761 {
763 if (part.ParentGroup.RootPart.IsAttachment) 762 if (part.ParentGroup.IsAttachment)
764 return false; 763 return false;
765 } 764 }
766 } 765 }