From 4087a453dc90356d8e62d371165b427096f5c26e Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 27 May 2011 08:53:26 -0700 Subject: Avoid a scary warning message about null replies from the user agent service. --- OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Server/Handlers/Hypergrid') 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 string url = m_HomeUsersService.LocateUser(userID); if (url != string.Empty) hash["URL"] = url; + else + hash["result"] = "Unable to locate user"; } } @@ -389,6 +391,8 @@ namespace OpenSim.Server.Handlers.Hypergrid string uui = m_HomeUsersService.GetUUI(userID, targetUserID); if (uui != string.Empty) hash["UUI"] = uui; + else + hash["result"] = "User unknown"; } XmlRpcResponse response = new XmlRpcResponse(); -- cgit v1.1