aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs38
1 files changed, 19 insertions, 19 deletions
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
507 == World.LandChannel.GetLandObject( 507 == World.LandChannel.GetLandObject(
508 presence.AbsolutePosition.X, presence.AbsolutePosition.Y).landData.OwnerID) 508 presence.AbsolutePosition.X, presence.AbsolutePosition.Y).landData.OwnerID)
509 { 509 {
510 510
511 // Check for hostname , attempt to make a hglink 511 // Check for hostname , attempt to make a hglink
512 // and convert the regionName to the target region 512 // and convert the regionName to the target region
513 if ( regionName.Contains(".") && regionName.Contains(":")) 513 if ( regionName.Contains(".") && regionName.Contains(":"))
514 { 514 {
515 // Try to link the region 515 // Try to link the region
516 RegionInfo regInfo = HGHyperlink.TryLinkRegion(World, 516 RegionInfo regInfo = HGHyperlink.TryLinkRegion(World,
517 presence.ControllingClient, 517 presence.ControllingClient,
518 regionName); 518 regionName);
519 // Get the region name 519 // Get the region name
520 if (regInfo != null) 520 if (regInfo != null)
521 { 521 {
522 regionName = regInfo.RegionName; 522 regionName = regInfo.RegionName;
523 } 523 }
524 else 524 else
525 { 525 {
526 // Might need to ping the client here in case of failure?? 526 // Might need to ping the client here in case of failure??
527 } 527 }
528 } 528 }
529 presence.ControllingClient.SendTeleportLocationStart(); 529 presence.ControllingClient.SendTeleportLocationStart();
530 World.RequestTeleportLocation(presence.ControllingClient, regionName, 530 World.RequestTeleportLocation(presence.ControllingClient, regionName,
531 new Vector3((float)position.x, (float)position.y, (float)position.z), 531 new Vector3((float)position.x, (float)position.y, (float)position.z),