mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
This commit is contained in:
@@ -313,7 +313,7 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||
|
||||
public bool IsForeignUser(UUID userID, out string userServerURL)
|
||||
{
|
||||
userServerURL = string.Empty;
|
||||
userServerURL = m_commsManager.NetworkServersInfo.UserURL;
|
||||
CachedUserInfo uinfo = m_commsManager.UserProfileCacheService.GetUserDetails(userID);
|
||||
if (uinfo != null)
|
||||
{
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
parameters.Add(param);
|
||||
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;
|
||||
if (respData.Contains("error_type"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user