only hide parcel info from banned avatars

0.9.0-post-fixes
UbitUmarov 2017-07-24 22:04:36 +01:00
parent 6bf96f83c5
commit 13564aa984
1 changed files with 1 additions and 1 deletions

View File

@ -1292,7 +1292,7 @@ namespace OpenSim.Region.CoreModules.World.Land
{
if (!temp.Contains(currentParcel))
{
if (!currentParcel.IsEitherBannedOrRestricted(remote_client.AgentId))
if (!currentParcel.IsBannedFromLand(remote_client.AgentId))
{
currentParcel.ForceUpdateLandInfo();
temp.Add(currentParcel);