diff options
author | Diva Canto | 2011-02-07 19:44:55 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-07 19:44:55 -0800 |
commit | d627122cdcbff1888b7334a524ed652731ba3766 (patch) | |
tree | 5745a51bbaed9cbf3130ac9870b68938464f1e07 /OpenSim | |
parent | Thanks Tokeiito for noticing this bug. mantis #5366 (diff) | |
download | opensim-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
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 7 |
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 | ||