Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim

slimupdates
Justin Clark-Casey (justincc) 2010-03-05 23:37:49 +00:00
commit e7422fe9b2
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ namespace OpenSim.Services.UserAccountService
if (null == account) if (null == account)
{ {
account = new UserAccount(UUID.Zero, firstName, lastName, email); account = new UserAccount(UUID.Zero, firstName, lastName, email);
if (account.ServiceURLs == null) if (account.ServiceURLs == null || (account.ServiceURLs != null && account.ServiceURLs.Count == 0))
{ {
account.ServiceURLs = new Dictionary<string, object>(); account.ServiceURLs = new Dictionary<string, object>();
account.ServiceURLs["HomeURI"] = string.Empty; account.ServiceURLs["HomeURI"] = string.Empty;