mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Avoid another null ref opportunity.
This commit is contained in:
@@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||
|
||||
private void OnSimulatorFeaturesRequest(UUID agentID, ref OSDMap features)
|
||||
{
|
||||
if (m_UserManagement != null && !m_UserManagement.IsLocalGridUser(agentID) && m_MapImageServerURL != string.Empty)
|
||||
if (m_UserManagement != null && !string.IsNullOrEmpty(m_MapImageServerURL) && !m_UserManagement.IsLocalGridUser(agentID))
|
||||
{
|
||||
OSD extras = new OSDMap();
|
||||
if (features.ContainsKey("OpenSimExtras"))
|
||||
|
||||
Reference in New Issue
Block a user