diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/GridService/HypergridLinker.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 5aaba13..5c9dd78 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -206,17 +206,17 @@ namespace OpenSim.Services.GridService | |||
206 | string host; | 206 | string host; |
207 | uint port = 80; | 207 | uint port = 80; |
208 | string regionName = ""; | 208 | string regionName = ""; |
209 | 209 | ||
210 | string[] parts = mapName.Split(new char[] { ':' }); | 210 | string[] parts = mapName.Split(new char[] { ':' }); |
211 | 211 | ||
212 | if (parts.Length == 0) | 212 | if (parts.Length == 0) |
213 | { | 213 | { |
214 | reason = "Wrong format for link-region"; | 214 | reason = "Wrong format for link-region"; |
215 | return null; | 215 | return null; |
216 | } | 216 | } |
217 | 217 | ||
218 | host = parts[0]; | 218 | host = parts[0]; |
219 | 219 | ||
220 | if (parts.Length >= 2) | 220 | if (parts.Length >= 2) |
221 | { | 221 | { |
222 | // If it's a number then assume it's a port. Otherwise, it's a region name. | 222 | // If it's a number then assume it's a port. Otherwise, it's a region name. |