aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r--OpenSim/Region/Communications/Local/LocalBackEndServices.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
index c48292a..b2550af 100644
--- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
@@ -91,7 +91,7 @@ namespace OpenSim.Region.Communications.Local
91 //Console.WriteLine("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering"); 91 //Console.WriteLine("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering");
92 if (!m_regions.ContainsKey(regionInfo.RegionHandle)) 92 if (!m_regions.ContainsKey(regionInfo.RegionHandle))
93 { 93 {
94 //Console.WriteLine("CommsManager - Adding Region " + regionInfo.RegionHandle ); 94 //Console.WriteLine("CommsManager - Adding Region " + regionInfo.RegionHandle);
95 m_regions.Add(regionInfo.RegionHandle, regionInfo); 95 m_regions.Add(regionInfo.RegionHandle, regionInfo);
96 96
97 RegionCommsListener regionHost = new RegionCommsListener(); 97 RegionCommsListener regionHost = new RegionCommsListener();
@@ -180,7 +180,7 @@ namespace OpenSim.Region.Communications.Local
180 180
181 public RegionInfo RequestClosestRegion(string regionName) 181 public RegionInfo RequestClosestRegion(string regionName)
182 { 182 {
183 foreach(RegionInfo regInfo in m_regions.Values) 183 foreach (RegionInfo regInfo in m_regions.Values)
184 { 184 {
185 if (regInfo.RegionName == regionName) return regInfo; 185 if (regInfo.RegionName == regionName) return regInfo;
186 } 186 }