aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalBackEndServices.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
index 2960a62..c48292a 100644
--- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
@@ -180,7 +180,10 @@ namespace OpenSim.Region.Communications.Local
180 180
181 public RegionInfo RequestClosestRegion(string regionName) 181 public RegionInfo RequestClosestRegion(string regionName)
182 { 182 {
183 // Don't use this method. It's only for SLURLS and Logins 183 foreach(RegionInfo regInfo in m_regions.Values)
184 {
185 if (regInfo.RegionName == regionName) return regInfo;
186 }
184 return null; 187 return null;
185 } 188 }
186 189