Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
commit
2303945b4e
|
@ -313,7 +313,7 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||||
|
|
||||||
public bool IsForeignUser(UUID userID, out string userServerURL)
|
public bool IsForeignUser(UUID userID, out string userServerURL)
|
||||||
{
|
{
|
||||||
userServerURL = string.Empty;
|
userServerURL = m_commsManager.NetworkServersInfo.UserURL;
|
||||||
CachedUserInfo uinfo = m_commsManager.UserProfileCacheService.GetUserDetails(userID);
|
CachedUserInfo uinfo = m_commsManager.UserProfileCacheService.GetUserDetails(userID);
|
||||||
if (uinfo != null)
|
if (uinfo != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -112,7 +112,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||||
parameters.Add(param);
|
parameters.Add(param);
|
||||||
XmlRpcRequest req = new XmlRpcRequest("get_agent_by_uuid", parameters);
|
XmlRpcRequest req = new XmlRpcRequest("get_agent_by_uuid", parameters);
|
||||||
|
|
||||||
XmlRpcResponse resp = req.Send(GetUserServerURL(userId), 6000);
|
XmlRpcResponse resp = req.Send(m_commsManager.NetworkServersInfo.UserURL, 6000);
|
||||||
Hashtable respData = (Hashtable)resp.Value;
|
Hashtable respData = (Hashtable)resp.Value;
|
||||||
if (respData.Contains("error_type"))
|
if (respData.Contains("error_type"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue