adjusted new UserManagementModule to accept the HG UUI test harness

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
inv-download
Freaky Tech 2015-03-05 23:14:19 +01:00 committed by BlueWall
parent 375f8cce34
commit 5a413c1b2f
1 changed files with 5 additions and 1 deletions

View File

@ -500,7 +500,11 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
if (!userdata.HasGridUserTried) if (!userdata.HasGridUserTried)
{ {
GridUserInfo uInfo = m_Scenes[0].GridUserService.GetGridUserInfo(uuid.ToString()); GridUserInfo uInfo = null;
if (null != m_Scenes[0].GridUserService)
{
uInfo = m_Scenes[0].GridUserService.GetGridUserInfo(uuid.ToString());
}
if (uInfo != null) if (uInfo != null)
{ {
string url, first, last, tmp; string url, first, last, tmp;