Added empty service URLs upon account creation.

slimupdates
Diva Canto 2010-03-03 09:16:21 -08:00
parent 9fda5c51ac
commit aee887afaf
1 changed files with 9 additions and 0 deletions

View File

@ -280,6 +280,15 @@ namespace OpenSim.Services.UserAccountService
if (null == account)
{
account = new UserAccount(UUID.Zero, firstName, lastName, email);
if (account.ServiceURLs == null)
{
account.ServiceURLs = new Dictionary<string, object>();
account.ServiceURLs["HomeURI"] = string.Empty;
account.ServiceURLs["GatekeeperURI"] = string.Empty;
account.ServiceURLs["InventoryServerURI"] = string.Empty;
account.ServiceURLs["AssetServerURI"] = string.Empty;
}
if (StoreUserAccount(account))
{
bool success = false;