diff options
Merge branch 'careminster' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 7f6a0ad..5fe0e28 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -359,7 +359,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
359 | { | 359 | { |
360 | if (avatar.AbsolutePosition.Z < LandChannel.BAN_LINE_SAFETY_HIEGHT) | 360 | if (avatar.AbsolutePosition.Z < LandChannel.BAN_LINE_SAFETY_HIEGHT) |
361 | { | 361 | { |
362 | if (parcelAvatarIsEntering.IsBannedFromLand(avatar.UUID)) | 362 | if (parcelAvatarIsEntering.IsEitherBannedOrRestricted(avatar.UUID)) |
363 | { | 363 | { |
364 | SendYouAreBannedNotice(avatar); | 364 | SendYouAreBannedNotice(avatar); |
365 | ForceAvatarToPosition(avatar, m_scene.GetNearestAllowedPosition(avatar)); | 365 | ForceAvatarToPosition(avatar, m_scene.GetNearestAllowedPosition(avatar)); |
@@ -989,6 +989,10 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
989 | //Owner Flag | 989 | //Owner Flag |
990 | tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER); | 990 | tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER); |
991 | } | 991 | } |
992 | else if (currentParcelBlock.LandData.IsGroupOwned && remote_client.IsGroupMember(currentParcelBlock.LandData.GroupID)) | ||
993 | { | ||
994 | tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_GROUP); | ||
995 | } | ||
992 | else if (currentParcelBlock.LandData.SalePrice > 0 && | 996 | else if (currentParcelBlock.LandData.SalePrice > 0 && |
993 | (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero || | 997 | (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero || |
994 | currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId)) | 998 | currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId)) |