diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index c956421..e532939 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1616,8 +1616,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1616 | agentData.child = false; | 1616 | agentData.child = false; |
1617 | agentData.firstname = m_firstName; | 1617 | agentData.firstname = m_firstName; |
1618 | agentData.lastname = m_lastName; | 1618 | agentData.lastname = m_lastName; |
1619 | 1619 | ||
1620 | ICapabilitiesModule capsModule = m_scene.RequestModuleInterface<ICapabilitiesModule>(); | 1620 | ICapabilitiesModule capsModule = m_scene.RequestModuleInterface<ICapabilitiesModule>(); |
1621 | |||
1622 | if (capsModule == null) // can happen when shutting down. | ||
1623 | return agentData; | ||
1624 | |||
1621 | agentData.CapsPath = capsModule.GetCapsPath(m_agentId); | 1625 | agentData.CapsPath = capsModule.GetCapsPath(m_agentId); |
1622 | agentData.ChildrenCapSeeds = new Dictionary<ulong,string>(capsModule.GetChildrenSeeds(m_agentId)); | 1626 | agentData.ChildrenCapSeeds = new Dictionary<ulong,string>(capsModule.GetChildrenSeeds(m_agentId)); |
1623 | 1627 | ||