make sure land access/ban lists are active when changed by new viewers
parent
3781c486c6
commit
4d493dd32e
|
@ -740,6 +740,17 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
newData.ParcelAccessList.Add(temp);
|
newData.ParcelAccessList.Add(temp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// update use lists flags
|
||||||
|
// rights already checked or we wont be here
|
||||||
|
uint parcelflags = newData.Flags;
|
||||||
|
|
||||||
|
if((flags & (uint)AccessList.Access) != 0)
|
||||||
|
parcelflags |= (uint)ParcelFlags.UseAccessList;
|
||||||
|
if((flags & (uint)AccessList.Ban) != 0)
|
||||||
|
parcelflags |= (uint)ParcelFlags.UseBanList;
|
||||||
|
|
||||||
|
newData.Flags = parcelflags;
|
||||||
|
|
||||||
m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData);
|
m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue