diff options
author | root | 2010-09-16 20:21:30 +0200 |
---|---|---|
committer | root | 2010-09-16 20:21:30 +0200 |
commit | d50a072336f584f8e484160ba50042020f35d112 (patch) | |
tree | 13e983bf555a4c046e7ba0b150a00ba14fa89f22 /OpenSim/Services/Connectors/Presence/PresenceServiceConnector.cs | |
parent | Some small bug fixes (diff) | |
download | opensim-SC-d50a072336f584f8e484160ba50042020f35d112.zip opensim-SC-d50a072336f584f8e484160ba50042020f35d112.tar.gz opensim-SC-d50a072336f584f8e484160ba50042020f35d112.tar.bz2 opensim-SC-d50a072336f584f8e484160ba50042020f35d112.tar.xz |
Suppress the strange "Result not Dictionary" messages that happen when
a region queries for a nonexistent presence.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/Presence/PresenceServiceConnector.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Presence/PresenceServiceConnector.cs b/OpenSim/Services/Connectors/Presence/PresenceServiceConnector.cs index 9f86078..f1c99ce 100644 --- a/OpenSim/Services/Connectors/Presence/PresenceServiceConnector.cs +++ b/OpenSim/Services/Connectors/Presence/PresenceServiceConnector.cs | |||
@@ -302,6 +302,9 @@ namespace OpenSim.Services.Connectors | |||
302 | } | 302 | } |
303 | else | 303 | else |
304 | { | 304 | { |
305 | if (replyData["result"].ToString() == "null") | ||
306 | return null; | ||
307 | |||
305 | m_log.DebugFormat("[PRESENCE CONNECTOR]: Invalid reply (result not dictionary) received from presence server when querying for sessionID {0}", sessionID.ToString()); | 308 | m_log.DebugFormat("[PRESENCE CONNECTOR]: Invalid reply (result not dictionary) received from presence server when querying for sessionID {0}", sessionID.ToString()); |
306 | } | 309 | } |
307 | } | 310 | } |