From 98d0d728c20dd16139599a235fb0822a99bdf9e2 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 18 Dec 2008 13:33:48 +0000 Subject: [PATCH] Stop hacked godmode from being able to actually move other people's attachments --- .../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 36f59652d9..1117c7b648 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);