aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2015-12-12 13:05:24 +0000
committerUbitUmarov2015-12-12 13:05:24 +0000
commit3781c486c6f853608f1f8211a22cacfb4fb9f675 (patch)
tree6a890e851c2b37c94857639a419c0206205b1c27 /OpenSim/Region
parentadd IsEstateManager check to Permissions (diff)
downloadopensim-SC-3781c486c6f853608f1f8211a22cacfb4fb9f675.zip
opensim-SC-3781c486c6f853608f1f8211a22cacfb4fb9f675.tar.gz
opensim-SC-3781c486c6f853608f1f8211a22cacfb4fb9f675.tar.bz2
opensim-SC-3781c486c6f853608f1f8211a22cacfb4fb9f675.tar.xz
fix land access/ban list sending for new viewers
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index 16d26c4..295dfee 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -679,13 +679,13 @@ namespace OpenSim.Region.CoreModules.World.Land
679 IClientAPI remote_client) 679 IClientAPI remote_client)
680 { 680 {
681 681
682 if (flags == (uint) AccessList.Access || flags == (uint) AccessList.Both) 682 if ((flags & (uint) AccessList.Access) != 0)
683 { 683 {
684 List<LandAccessEntry> accessEntries = CreateAccessListArrayByFlag(AccessList.Access); 684 List<LandAccessEntry> accessEntries = CreateAccessListArrayByFlag(AccessList.Access);
685 remote_client.SendLandAccessListData(accessEntries,(uint) AccessList.Access,LandData.LocalID); 685 remote_client.SendLandAccessListData(accessEntries,(uint) AccessList.Access,LandData.LocalID);
686 } 686 }
687 687
688 if (flags == (uint) AccessList.Ban || flags == (uint) AccessList.Both) 688 if ((flags & (uint) AccessList.Ban) != 0)
689 { 689 {
690 List<LandAccessEntry> accessEntries = CreateAccessListArrayByFlag(AccessList.Ban); 690 List<LandAccessEntry> accessEntries = CreateAccessListArrayByFlag(AccessList.Ban);
691 remote_client.SendLandAccessListData(accessEntries, (uint)AccessList.Ban, LandData.LocalID); 691 remote_client.SendLandAccessListData(accessEntries, (uint)AccessList.Ban, LandData.LocalID);