* Fixed a dictionary value retrieval in GroupsModule

slimupdates
John Hurliman 2010-03-26 12:39:22 -07:00
parent 3e8cb7a9a0
commit 05123c6bd5
1 changed files with 3 additions and 2 deletions

View File

@ -1193,8 +1193,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
else else
{ {
string domain = string.Empty; //m_sceneList[0].CommsManager.NetworkServersInfo.UserURL; string domain = string.Empty; //m_sceneList[0].CommsManager.NetworkServersInfo.UserURL;
if (account.ServiceURLs["HomeURI"] != null) object homeUriObj;
domain = account.ServiceURLs["HomeURI"].ToString(); if (account.ServiceURLs.TryGetValue("HomeURI", out homeUriObj) && homeUriObj != null)
domain = homeUriObj.ToString();
// They're a local user, use this: // They're a local user, use this:
info.RequestID.UserServiceURL = domain; info.RequestID.UserServiceURL = domain;
} }