aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2011-02-07 19:44:55 -0800
committerDiva Canto2011-02-07 19:44:55 -0800
commitd627122cdcbff1888b7334a524ed652731ba3766 (patch)
tree5745a51bbaed9cbf3130ac9870b68938464f1e07
parentThanks Tokeiito for noticing this bug. mantis #5366 (diff)
downloadopensim-SC_OLD-d627122cdcbff1888b7334a524ed652731ba3766.zip
opensim-SC_OLD-d627122cdcbff1888b7334a524ed652731ba3766.tar.gz
opensim-SC_OLD-d627122cdcbff1888b7334a524ed652731ba3766.tar.bz2
opensim-SC_OLD-d627122cdcbff1888b7334a524ed652731ba3766.tar.xz
Mantis #5368 -- exception on WorldMap
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index e0f36a2..1094970 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -764,10 +764,11 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
764 764
765 if (!responseMap.ContainsKey(itemtype.ToString())) // remote sim doesnt have the stated region handle 765 if (!responseMap.ContainsKey(itemtype.ToString())) // remote sim doesnt have the stated region handle
766 { 766 {
767 if (!m_blacklistedregions.ContainsKey(regionhandle)) 767 m_log.DebugFormat("[WORLD MAP]: Remote sim does not have the stated region. Blacklisting.");
768 lock (m_blacklistedregions)
768 { 769 {
769 m_log.DebugFormat("[WORLD MAP]: Remote sim does not have the stated region. Blacklisting."); 770 if (!m_blacklistedregions.ContainsKey(regionhandle))
770 m_blacklistedregions.Add(regionhandle, Environment.TickCount); 771 m_blacklistedregions.Add(regionhandle, Environment.TickCount);
771 } 772 }
772 } 773 }
773 774