aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2013-07-30 21:38:41 -0700
committerDiva Canto2013-07-30 21:38:41 -0700
commite4ecbc2b104959eced649e1620108afca22346dc (patch)
tree7e7bc2e6ecfbade7a456a11f3056d05e4461fbfc /OpenSim/Region
parentDoing the HG Map / SimulatorFeatures "the right way": moved it to HGMapModule... (diff)
downloadopensim-SC_OLD-e4ecbc2b104959eced649e1620108afca22346dc.zip
opensim-SC_OLD-e4ecbc2b104959eced649e1620108afca22346dc.tar.gz
opensim-SC_OLD-e4ecbc2b104959eced649e1620108afca22346dc.tar.bz2
opensim-SC_OLD-e4ecbc2b104959eced649e1620108afca22346dc.tar.xz
Fix null ref.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
index 4a5a352..a7dd44e 100644
--- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
@@ -64,7 +64,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
64 64
65 m_MapImageServerURL = Util.GetConfigVarFromSections<string>(source, "MapTileURL", new string[] {"LoginService", "HGWorldMap", "SimulatorFeatures"}); 65 m_MapImageServerURL = Util.GetConfigVarFromSections<string>(source, "MapTileURL", new string[] {"LoginService", "HGWorldMap", "SimulatorFeatures"});
66 66
67 if (m_MapImageServerURL != string.Empty) 67 if (!string.IsNullOrEmpty(m_MapImageServerURL))
68 { 68 {
69 m_MapImageServerURL = m_MapImageServerURL.Trim(); 69 m_MapImageServerURL = m_MapImageServerURL.Trim();
70 if (!m_MapImageServerURL.EndsWith("/")) 70 if (!m_MapImageServerURL.EndsWith("/"))