Fix null ref.

TeleportWork
Diva Canto 2013-07-30 21:38:41 -07:00
parent fd050fca7c
commit e4ecbc2b10
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
m_MapImageServerURL = Util.GetConfigVarFromSections<string>(source, "MapTileURL", new string[] {"LoginService", "HGWorldMap", "SimulatorFeatures"});
if (m_MapImageServerURL != string.Empty)
if (!string.IsNullOrEmpty(m_MapImageServerURL))
{
m_MapImageServerURL = m_MapImageServerURL.Trim();
if (!m_MapImageServerURL.EndsWith("/"))