add 2 minor speedups on allow parcel owner more restrive checks
parent
35b0b77656
commit
6e0d82f584
|
@ -635,6 +635,9 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
|
|
||||||
public bool IsEitherBannedOrRestricted(UUID avatar)
|
public bool IsEitherBannedOrRestricted(UUID avatar)
|
||||||
{
|
{
|
||||||
|
if (m_scene.RegionInfo.EstateSettings.TaxFree) // region access control only
|
||||||
|
return false;
|
||||||
|
|
||||||
if (IsBannedFromLand(avatar))
|
if (IsBannedFromLand(avatar))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
@ -648,6 +651,9 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
|
|
||||||
public bool CanBeOnThisLand(UUID avatar, float posHeight)
|
public bool CanBeOnThisLand(UUID avatar, float posHeight)
|
||||||
{
|
{
|
||||||
|
if (m_scene.RegionInfo.EstateSettings.TaxFree) // region access control only
|
||||||
|
return true;
|
||||||
|
|
||||||
if (posHeight < m_scene.LandChannel.BanLineSafeHeight && IsBannedFromLand(avatar))
|
if (posHeight < m_scene.LandChannel.BanLineSafeHeight && IsBannedFromLand(avatar))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue