mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Add a null check. Mantis #2798
This commit is contained in:
@@ -655,7 +655,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
XmlRpcResponse resp = req.Send(m_commsManager.NetworkServersInfo.UserURL, 8000);
|
||||
Hashtable respData = (Hashtable) resp.Value;
|
||||
|
||||
if (respData.Contains("avcount"))
|
||||
if (respData != null && respData.Contains("avcount"))
|
||||
{
|
||||
buddylist = ConvertXMLRPCDataToFriendListItemList(respData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user