aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2008-12-18 13:33:48 +0000
committerMelanie Thielker2008-12-18 13:33:48 +0000
commit98d0d728c20dd16139599a235fb0822a99bdf9e2 (patch)
tree2c57670dd173da2e735ac20f135ec22a609d5a77
parent* Tweak my previously mentioned nasty hack so it's a little less nasty (diff)
downloadopensim-SC_OLD-98d0d728c20dd16139599a235fb0822a99bdf9e2.zip
opensim-SC_OLD-98d0d728c20dd16139599a235fb0822a99bdf9e2.tar.gz
opensim-SC_OLD-98d0d728c20dd16139599a235fb0822a99bdf9e2.tar.bz2
opensim-SC_OLD-98d0d728c20dd16139599a235fb0822a99bdf9e2.tar.xz
Stop hacked godmode from being able to actually move other people's
attachments
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs4
1 files changed, 4 insertions, 0 deletions
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
533 { 533 {
534 permission = true; 534 permission = true;
535 } 535 }
536 else if(group.IsAttachment)
537 {
538 permission = false;
539 }
536 540
537 // Users should be able to edit what is over their land. 541 // Users should be able to edit what is over their land.
538 ILandObject parcel = m_scene.LandChannel.GetLandObject(group.AbsolutePosition.X, group.AbsolutePosition.Y); 542 ILandObject parcel = m_scene.LandChannel.GetLandObject(group.AbsolutePosition.X, group.AbsolutePosition.Y);