diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 4c108f5..e385ae0 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -301,12 +301,12 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
301 | { | 301 | { |
302 | if (checkBan.isBannedFromLand(avatar.AgentId)) | 302 | if (checkBan.isBannedFromLand(avatar.AgentId)) |
303 | { | 303 | { |
304 | checkBan.sendLandProperties((int)ParcelStatus.CollisionBanned, false, (int)ParcelResult.Single, avatar); | 304 | checkBan.sendLandProperties((int)ParcelPropertiesStatus.CollisionBanned, false, (int)ParcelResult.Single, avatar); |
305 | return; //Only send one | 305 | return; //Only send one |
306 | } | 306 | } |
307 | if (checkBan.isRestrictedFromLand(avatar.AgentId)) | 307 | if (checkBan.isRestrictedFromLand(avatar.AgentId)) |
308 | { | 308 | { |
309 | checkBan.sendLandProperties((int)ParcelStatus.CollisionNotOnAccessList, false, (int)ParcelResult.Single, avatar); | 309 | checkBan.sendLandProperties((int)ParcelPropertiesStatus.CollisionNotOnAccessList, false, (int)ParcelResult.Single, avatar); |
310 | return; //Only send one | 310 | return; //Only send one |
311 | } | 311 | } |
312 | } | 312 | } |
@@ -1116,7 +1116,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1116 | UUID pOwnerID = lob.landData.OwnerID; | 1116 | UUID pOwnerID = lob.landData.OwnerID; |
1117 | 1117 | ||
1118 | bool landforsale = ((lob.landData.Flags & | 1118 | bool landforsale = ((lob.landData.Flags & |
1119 | (uint)(Parcel.ParcelFlags.ForSale | Parcel.ParcelFlags.ForSaleObjects | Parcel.ParcelFlags.SellParcelObjects)) != 0); | 1119 | (uint)(ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects)) != 0); |
1120 | if ((AuthorizedID == UUID.Zero || AuthorizedID == e.agentId) && e.parcelPrice >= saleprice && landforsale) | 1120 | if ((AuthorizedID == UUID.Zero || AuthorizedID == e.agentId) && e.parcelPrice >= saleprice && landforsale) |
1121 | { | 1121 | { |
1122 | // TODO I don't think we have to lock it here, no? | 1122 | // TODO I don't think we have to lock it here, no? |