diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs')
-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 a7dd44e..a2aee08 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | |||
@@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
146 | 146 | ||
147 | private void OnSimulatorFeaturesRequest(UUID agentID, ref OSDMap features) | 147 | private void OnSimulatorFeaturesRequest(UUID agentID, ref OSDMap features) |
148 | { | 148 | { |
149 | if (m_UserManagement != null && !m_UserManagement.IsLocalGridUser(agentID) && m_MapImageServerURL != string.Empty) | 149 | if (m_UserManagement != null && !string.IsNullOrEmpty(m_MapImageServerURL) && !m_UserManagement.IsLocalGridUser(agentID)) |
150 | { | 150 | { |
151 | OSD extras = new OSDMap(); | 151 | OSD extras = new OSDMap(); |
152 | if (features.ContainsKey("OpenSimExtras")) | 152 | if (features.ContainsKey("OpenSimExtras")) |