aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJohn Hurliman2010-03-26 12:39:22 -0700
committerJohn Hurliman2010-03-26 12:39:22 -0700
commit05123c6bd5442a7711660fcfb2eedd12c0b82efa (patch)
tree365e71d1b1963eccbacac15dad3f8160ad1e5920 /OpenSim
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-05123c6bd5442a7711660fcfb2eedd12c0b82efa.zip
opensim-SC_OLD-05123c6bd5442a7711660fcfb2eedd12c0b82efa.tar.gz
opensim-SC_OLD-05123c6bd5442a7711660fcfb2eedd12c0b82efa.tar.bz2
opensim-SC_OLD-05123c6bd5442a7711660fcfb2eedd12c0b82efa.tar.xz
* Fixed a dictionary value retrieval in GroupsModule
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
index b011295..eb630de 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
@@ -1193,8 +1193,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
1193 else 1193 else
1194 { 1194 {
1195 string domain = string.Empty; //m_sceneList[0].CommsManager.NetworkServersInfo.UserURL; 1195 string domain = string.Empty; //m_sceneList[0].CommsManager.NetworkServersInfo.UserURL;
1196 if (account.ServiceURLs["HomeURI"] != null) 1196 object homeUriObj;
1197 domain = account.ServiceURLs["HomeURI"].ToString(); 1197 if (account.ServiceURLs.TryGetValue("HomeURI", out homeUriObj) && homeUriObj != null)
1198 domain = homeUriObj.ToString();
1198 // They're a local user, use this: 1199 // They're a local user, use this:
1199 info.RequestID.UserServiceURL = domain; 1200 info.RequestID.UserServiceURL = domain;
1200 } 1201 }