diff options
author | Melanie Thielker | 2008-12-18 13:33:48 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-12-18 13:33:48 +0000 |
commit | 98d0d728c20dd16139599a235fb0822a99bdf9e2 (patch) | |
tree | 2c57670dd173da2e735ac20f135ec22a609d5a77 /OpenSim/Region | |
parent | * Tweak my previously mentioned nasty hack so it's a little less nasty (diff) | |
download | opensim-SC-98d0d728c20dd16139599a235fb0822a99bdf9e2.zip opensim-SC-98d0d728c20dd16139599a235fb0822a99bdf9e2.tar.gz opensim-SC-98d0d728c20dd16139599a235fb0822a99bdf9e2.tar.bz2 opensim-SC-98d0d728c20dd16139599a235fb0822a99bdf9e2.tar.xz |
Stop hacked godmode from being able to actually move other people's
attachments
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 4 |
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); |