diff options
author | idb | 2008-12-11 20:20:21 +0000 |
---|---|---|
committer | idb | 2008-12-11 20:20:21 +0000 |
commit | 31bccdffd94bc5dd5302bec31dee51220e65b0d6 (patch) | |
tree | b05c5a4b75bd2c770d9063232716240f084089f2 /OpenSim/Region/Communications/OGS1 | |
parent | Correct the last checkin. (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 2 |
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 | } |