From 465f1df5923e82c0471aac6b771fb4b7f76d3cac Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 6 Apr 2009 14:36:44 +0000 Subject: Add copyright headers, formatting cleanup. --- .../Shared/Api/Implementation/OSSL_Api.cs | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 18e97da..764f061 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -507,25 +507,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api == World.LandChannel.GetLandObject( presence.AbsolutePosition.X, presence.AbsolutePosition.Y).landData.OwnerID) { - - // Check for hostname , attempt to make a hglink - // and convert the regionName to the target region - if ( regionName.Contains(".") && regionName.Contains(":")) - { - // Try to link the region - RegionInfo regInfo = HGHyperlink.TryLinkRegion(World, - presence.ControllingClient, - regionName); - // Get the region name - if (regInfo != null) - { - regionName = regInfo.RegionName; - } - else - { - // Might need to ping the client here in case of failure?? - } - } + + // Check for hostname , attempt to make a hglink + // and convert the regionName to the target region + if ( regionName.Contains(".") && regionName.Contains(":")) + { + // Try to link the region + RegionInfo regInfo = HGHyperlink.TryLinkRegion(World, + presence.ControllingClient, + regionName); + // Get the region name + if (regInfo != null) + { + regionName = regInfo.RegionName; + } + else + { + // Might need to ping the client here in case of failure?? + } + } presence.ControllingClient.SendTeleportLocationStart(); World.RequestTeleportLocation(presence.ControllingClient, regionName, new Vector3((float)position.x, (float)position.y, (float)position.z), -- cgit v1.1