aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs5
1 files changed, 4 insertions, 1 deletions
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
208 m_log.Error("[CAPS]: GetDisplayNames disabled because user management component not found"); 208 m_log.Error("[CAPS]: GetDisplayNames disabled because user management component not found");
209 209
210 UserAccount account = m_userAccountService.GetUserAccount(m_Scene.RegionInfo.ScopeID, m_AgentID); 210 UserAccount account = m_userAccountService.GetUserAccount(m_Scene.RegionInfo.ScopeID, m_AgentID);
211 m_scopeID = account.ScopeID; 211 if (account == null) // Hypergrid?
212 m_scopeID = m_Scene.RegionInfo.ScopeID;
213 else
214 m_scopeID = account.ScopeID;
212 215
213 RegisterHandlers(); 216 RegisterHandlers();
214 217