diff options
author | Diva Canto | 2011-05-27 08:53:26 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-27 08:53:26 -0700 |
commit | 4087a453dc90356d8e62d371165b427096f5c26e (patch) | |
tree | 094dc828546b2a93c4e64e41e71fbcf9b1f11588 /OpenSim/Server/Handlers/Hypergrid | |
parent | HG inventory transfers over the profile working. (diff) | |
download | opensim-SC-4087a453dc90356d8e62d371165b427096f5c26e.zip opensim-SC-4087a453dc90356d8e62d371165b427096f5c26e.tar.gz opensim-SC-4087a453dc90356d8e62d371165b427096f5c26e.tar.bz2 opensim-SC-4087a453dc90356d8e62d371165b427096f5c26e.tar.xz |
Avoid a scary warning message about null replies from the user agent service.
Diffstat (limited to 'OpenSim/Server/Handlers/Hypergrid')
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs index eb184a5..9961164 100644 --- a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | |||
@@ -354,6 +354,8 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
354 | string url = m_HomeUsersService.LocateUser(userID); | 354 | string url = m_HomeUsersService.LocateUser(userID); |
355 | if (url != string.Empty) | 355 | if (url != string.Empty) |
356 | hash["URL"] = url; | 356 | hash["URL"] = url; |
357 | else | ||
358 | hash["result"] = "Unable to locate user"; | ||
357 | } | 359 | } |
358 | } | 360 | } |
359 | 361 | ||
@@ -389,6 +391,8 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
389 | string uui = m_HomeUsersService.GetUUI(userID, targetUserID); | 391 | string uui = m_HomeUsersService.GetUUI(userID, targetUserID); |
390 | if (uui != string.Empty) | 392 | if (uui != string.Empty) |
391 | hash["UUI"] = uui; | 393 | hash["UUI"] = uui; |
394 | else | ||
395 | hash["result"] = "User unknown"; | ||
392 | } | 396 | } |
393 | 397 | ||
394 | XmlRpcResponse response = new XmlRpcResponse(); | 398 | XmlRpcResponse response = new XmlRpcResponse(); |