diff options
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 |