diff options
author | Diva Canto | 2013-07-30 21:38:41 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-30 21:38:41 -0700 |
commit | e4ecbc2b104959eced649e1620108afca22346dc (patch) | |
tree | 7e7bc2e6ecfbade7a456a11f3056d05e4461fbfc /OpenSim/Region | |
parent | Doing the HG Map / SimulatorFeatures "the right way": moved it to HGMapModule... (diff) | |
download | opensim-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.cs | 2 |
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("/")) |