aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authoropensim mirror account2010-11-16 08:20:04 -0800
committeropensim mirror account2010-11-16 08:20:04 -0800
commit63171839a30943c9c5baa0e81ad09679e74200f6 (patch)
treef8bcfb102198c099180a3fa49fb4ba8810a62115 /OpenSim
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentFix osTeleportAgent for hypergrid destinations. (diff)
downloadopensim-SC_OLD-63171839a30943c9c5baa0e81ad09679e74200f6.zip
opensim-SC_OLD-63171839a30943c9c5baa0e81ad09679e74200f6.tar.gz
opensim-SC_OLD-63171839a30943c9c5baa0e81ad09679e74200f6.tar.bz2
opensim-SC_OLD-63171839a30943c9c5baa0e81ad09679e74200f6.tar.xz
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 0b787d8..e6a323e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -665,7 +665,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
665 if (regions != null && regions.Count > 0) 665 if (regions != null && regions.Count > 0)
666 { 666 {
667 GridRegion regInfo = regions[0]; 667 GridRegion regInfo = regions[0];
668 regionName = regInfo.RegionName; 668 string[] parts = regInfo.RegionName.Split(new char[] { ':' });
669 if (parts.Length > 2)
670 regionName = parts[2];
671 else
672 regionName = parts[0];
669 } 673 }
670 } 674 }
671 World.RequestTeleportLocation(presence.ControllingClient, regionName, 675 World.RequestTeleportLocation(presence.ControllingClient, regionName,