diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Presence')
-rw-r--r-- | OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs b/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs index f7d8c53..378aab6 100644 --- a/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs +++ b/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs | |||
@@ -304,6 +304,17 @@ namespace OpenSim.Services.Connectors | |||
304 | { | 304 | { |
305 | pinfo = new PresenceInfo((Dictionary<string, object>)replyData["result"]); | 305 | pinfo = new PresenceInfo((Dictionary<string, object>)replyData["result"]); |
306 | } | 306 | } |
307 | else | ||
308 | { | ||
309 | if (replyData["result"].ToString() == "null") | ||
310 | return null; | ||
311 | |||
312 | m_log.DebugFormat("[PRESENCE CONNECTOR]: Invalid reply (result not dictionary) received from presence server when querying for sessionID {0}", sessionID.ToString()); | ||
313 | } | ||
314 | } | ||
315 | else | ||
316 | { | ||
317 | m_log.DebugFormat("[PRESENCE CONNECTOR]: Invalid reply received from presence server when querying for sessionID {0}", sessionID.ToString()); | ||
307 | } | 318 | } |
308 | 319 | ||
309 | return pinfo; | 320 | return pinfo; |