aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorDiva Canto2009-12-14 08:27:16 -0800
committerDiva Canto2009-12-14 08:27:16 -0800
commit9e54e61a4324769f119a94f480ba88f738ea9bd4 (patch)
treef9748159c1b2b17ec557b75613366ef7ef0a524f /OpenSim/Region/CoreModules
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC-9e54e61a4324769f119a94f480ba88f738ea9bd4.zip
opensim-SC-9e54e61a4324769f119a94f480ba88f738ea9bd4.tar.gz
opensim-SC-9e54e61a4324769f119a94f480ba88f738ea9bd4.tar.bz2
opensim-SC-9e54e61a4324769f119a94f480ba88f738ea9bd4.tar.xz
Make the HG map search recognize host names without ports.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
index 436f332..be46fa5 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
@@ -108,7 +108,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
108 { 108 {
109 // OK, we tried but there are no regions matching that name. 109 // OK, we tried but there are no regions matching that name.
110 // Let's check quickly if this is a domain name, and if so link to it 110 // Let's check quickly if this is a domain name, and if so link to it
111 if (mapName.Contains(".") && mapName.Contains(":")) 111 if (mapName.Contains("."))
112 { 112 {
113 // It probably is a domain name. Try to link to it. 113 // It probably is a domain name. Try to link to it.
114 GridRegion regInfo; 114 GridRegion regInfo;