diff options
author | Teravus Ovares | 2009-07-25 15:49:10 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-07-25 15:49:10 +0000 |
commit | 64bd9a335444379ebe1cad8e34d5b5953a76f671 (patch) | |
tree | 66b9ce07dbf95e4c118e3d639068e2c44fc52f58 /OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |
parent | * Apply http://opensimulator.org/mantis/view.php?id=3586 (diff) | |
download | opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.zip opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.tar.gz opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.tar.bz2 opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.tar.xz |
* Updates libOMV to version 0.7.0
* Uses mantis #3811 as a base (thanks jhuliman) with changes.
* E-mail regarding interface changes sent to the opensim-dev list
* Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 99035b6..5c0d3db 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -1186,7 +1186,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1186 | return false; | 1186 | return false; |
1187 | } | 1187 | } |
1188 | 1188 | ||
1189 | if ((land.landData.Flags & ((int)Parcel.ParcelFlags.AllowAPrimitiveEntry)) != 0) | 1189 | if ((land.landData.Flags & ((int)ParcelFlags.AllowAPrimitiveEntry)) != 0) |
1190 | { | 1190 | { |
1191 | return true; | 1191 | return true; |
1192 | } | 1192 | } |
@@ -1230,8 +1230,8 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1230 | ILandObject land = m_scene.LandChannel.GetLandObject(objectPosition.X, objectPosition.Y); | 1230 | ILandObject land = m_scene.LandChannel.GetLandObject(objectPosition.X, objectPosition.Y); |
1231 | if (land == null) return false; | 1231 | if (land == null) return false; |
1232 | 1232 | ||
1233 | if ((land.landData.Flags & ((int)Parcel.ParcelFlags.CreateObjects)) == | 1233 | if ((land.landData.Flags & ((int)ParcelFlags.CreateObjects)) == |
1234 | (int)Parcel.ParcelFlags.CreateObjects) | 1234 | (int)ParcelFlags.CreateObjects) |
1235 | permission = true; | 1235 | permission = true; |
1236 | 1236 | ||
1237 | if (IsAdministrator(owner)) | 1237 | if (IsAdministrator(owner)) |
@@ -1357,7 +1357,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1357 | return false; | 1357 | return false; |
1358 | 1358 | ||
1359 | // Others allowed to terraform? | 1359 | // Others allowed to terraform? |
1360 | if ((parcel.landData.Flags & ((int)Parcel.ParcelFlags.AllowTerraform)) != 0) | 1360 | if ((parcel.landData.Flags & ((int)ParcelFlags.AllowTerraform)) != 0) |
1361 | return true; | 1361 | return true; |
1362 | 1362 | ||
1363 | // Land owner can terraform too | 1363 | // Land owner can terraform too |