aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs
index e05b001..00f43a8 100644
--- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs
+++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs
@@ -155,25 +155,25 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid
155 if (mapName.Contains(":")) 155 if (mapName.Contains(":"))
156 { 156 {
157 string host = "127.0.0.1"; 157 string host = "127.0.0.1";
158 string portstr; 158 //string portstr;
159 string regionName = ""; 159 //string regionName = "";
160 uint port = 9000; 160 uint port = 9000;
161 string[] parts = mapName.Split(new char[] { ':' }); 161 string[] parts = mapName.Split(new char[] { ':' });
162 if (parts.Length >= 1) 162 if (parts.Length >= 1)
163 { 163 {
164 host = parts[0]; 164 host = parts[0];
165 } 165 }
166 if (parts.Length >= 2) 166// if (parts.Length >= 2)
167 { 167// {
168 portstr = parts[1]; 168// portstr = parts[1];
169 if (!UInt32.TryParse(portstr, out port)) 169// if (!UInt32.TryParse(portstr, out port))
170 regionName = parts[1]; 170// regionName = parts[1];
171 } 171// }
172 // always take the last one 172 // always take the last one
173 if (parts.Length >= 3) 173// if (parts.Length >= 3)
174 { 174// {
175 regionName = parts[2]; 175// regionName = parts[2];
176 } 176// }
177 regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port); 177 regInfo = m_scene.CommsManager.GridService.RequestNeighbourInfo(host, port);
178 } 178 }
179 else 179 else