aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/HypergridLinker.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/GridService/HypergridLinker.cs')
-rw-r--r--OpenSim/Services/GridService/HypergridLinker.cs19
1 files changed, 17 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs
index c02c813..553c116 100644
--- a/OpenSim/Services/GridService/HypergridLinker.cs
+++ b/OpenSim/Services/GridService/HypergridLinker.cs
@@ -191,6 +191,7 @@ namespace OpenSim.Services.GridService
191 } 191 }
192 if (parts.Length >= 2) 192 if (parts.Length >= 2)
193 { 193 {
194<<<<<<< HEAD:OpenSim/Services/GridService/HypergridLinker.cs
194 portstr = parts[1]; 195 portstr = parts[1];
195 //m_log.Debug("-- port = " + portstr); 196 //m_log.Debug("-- port = " + portstr);
196 if (!UInt32.TryParse(portstr, out port)) 197 if (!UInt32.TryParse(portstr, out port))
@@ -219,6 +220,20 @@ namespace OpenSim.Services.GridService
219 { 220 {
220 regInfo.RegionName = mapName; 221 regInfo.RegionName = mapName;
221 return regInfo; 222 return regInfo;
223=======
224 string[] parts = mapName.Split(new char[] {' '});
225 string regionName = String.Empty;
226 if (parts.Length > 1)
227 {
228 regionName = mapName.Substring(parts[0].Length + 1);
229 regionName = regionName.Trim(new char[] {'"'});
230 }
231 if (TryCreateLink(scopeID, xloc, yloc, regionName, 0, null, parts[0], ownerID, out regInfo, out reason))
232 {
233 regInfo.RegionName = mapName;
234 return regInfo;
235 }
236>>>>>>> master:OpenSim/Services/GridService/HypergridLinker.cs
222 } 237 }
223 238
224 return null; 239 return null;
@@ -313,9 +328,9 @@ namespace OpenSim.Services.GridService
313 328
314 regInfo.RegionID = regionID; 329 regInfo.RegionID = regionID;
315 330
316 if ( externalName == string.Empty ) 331 if (externalName == string.Empty)
317 regInfo.RegionName = regInfo.ServerURI; 332 regInfo.RegionName = regInfo.ServerURI;
318 else 333 else
319 regInfo.RegionName = externalName; 334 regInfo.RegionName = externalName;
320 335
321 m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName); 336 m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName);