mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Avoid a scary warning message about null replies from the user agent service.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user