From 0726ef53029f3a9e4fdf4198cf75fe89dcc7c930 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 9 Aug 2019 10:59:51 +0100 Subject: Fix #8572 --- OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index aca3ea5..316d39d 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs @@ -208,7 +208,10 @@ namespace OpenSim.Region.ClientStack.Linden m_log.Error("[CAPS]: GetDisplayNames disabled because user management component not found"); UserAccount account = m_userAccountService.GetUserAccount(m_Scene.RegionInfo.ScopeID, m_AgentID); - m_scopeID = account.ScopeID; + if (account == null) // Hypergrid? + m_scopeID = m_Scene.RegionInfo.ScopeID; + else + m_scopeID = account.ScopeID; RegisterHandlers(); -- cgit v1.1