Route logins according to Estate, Telehub and TeleportFlags

xassetservice
BlueWall 2012-02-18 00:45:43 -05:00
parent 7bdcf9eb26
commit f4cd35322f
1 changed files with 4 additions and 2 deletions

View File

@ -3431,8 +3431,10 @@ namespace OpenSim.Region.Framework.Scenes
}
}
// Honor Estate teleport routing via Telehubs
if (RegionInfo.RegionSettings.TelehubObject != UUID.Zero && RegionInfo.EstateSettings.AllowDirectTeleport == false && !viahome && !godlike)
// Honor Estate teleport routing via Telehubs excluding ViaHome and GodLike TeleportFlags
if (RegionInfo.RegionSettings.TelehubObject != UUID.Zero &&
RegionInfo.EstateSettings.AllowDirectTeleport == false &&
!viahome && !godlike)
{
SceneObjectGroup telehub = GetSceneObjectGroup(RegionInfo.RegionSettings.TelehubObject);
// Can have multiple SpawnPoints