aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
diff options
context:
space:
mode:
authoridb2008-12-11 20:20:21 +0000
committeridb2008-12-11 20:20:21 +0000
commit31bccdffd94bc5dd5302bec31dee51220e65b0d6 (patch)
treeb05c5a4b75bd2c770d9063232716240f084089f2 /OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
parentCorrect the last checkin. (diff)
downloadopensim-SC_OLD-31bccdffd94bc5dd5302bec31dee51220e65b0d6.zip
opensim-SC_OLD-31bccdffd94bc5dd5302bec31dee51220e65b0d6.tar.gz
opensim-SC_OLD-31bccdffd94bc5dd5302bec31dee51220e65b0d6.tar.bz2
opensim-SC_OLD-31bccdffd94bc5dd5302bec31dee51220e65b0d6.tar.xz
Add a null check. Mantis #2798
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserServices.cs')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1UserServices.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
index e7577c0..4a44ae6 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
@@ -655,7 +655,7 @@ namespace OpenSim.Region.Communications.OGS1
655 XmlRpcResponse resp = req.Send(m_commsManager.NetworkServersInfo.UserURL, 8000); 655 XmlRpcResponse resp = req.Send(m_commsManager.NetworkServersInfo.UserURL, 8000);
656 Hashtable respData = (Hashtable) resp.Value; 656 Hashtable respData = (Hashtable) resp.Value;
657 657
658 if (respData.Contains("avcount")) 658 if (respData != null && respData.Contains("avcount"))
659 { 659 {
660 buddylist = ConvertXMLRPCDataToFriendListItemList(respData); 660 buddylist = ConvertXMLRPCDataToFriendListItemList(respData);
661 } 661 }