diff options
author | John Hurliman | 2010-03-26 12:39:22 -0700 |
---|---|---|
committer | John Hurliman | 2010-03-26 12:39:22 -0700 |
commit | 05123c6bd5442a7711660fcfb2eedd12c0b82efa (patch) | |
tree | 365e71d1b1963eccbacac15dad3f8160ad1e5920 | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-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
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 5 |
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 | } |