From 98d0d728c20dd16139599a235fb0822a99bdf9e2 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 18 Dec 2008 13:33:48 +0000 Subject: Stop hacked godmode from being able to actually move other people's attachments --- .../Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index 36f5965..1117c7b 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs @@ -533,6 +533,10 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions { permission = true; } + else if(group.IsAttachment) + { + permission = false; + } // Users should be able to edit what is over their land. ILandObject parcel = m_scene.LandChannel.GetLandObject(group.AbsolutePosition.X, group.AbsolutePosition.Y); -- cgit v1.1