diff options
author | Justin Clark-Casey (justincc) | 2010-03-05 23:37:49 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-03-05 23:37:49 +0000 |
commit | e7422fe9b212878852ffb2dea6bb24347f6a7b98 (patch) | |
tree | a4ede668eed739cd161c9fc85ba739d32ca90a6b /OpenSim/Services | |
parent | refactor: move another AttachObject method (diff) | |
parent | Bug fix on user account creation -- ServiceURLs field now properly filled out. (diff) | |
download | opensim-SC_OLD-e7422fe9b212878852ffb2dea6bb24347f6a7b98.zip opensim-SC_OLD-e7422fe9b212878852ffb2dea6bb24347f6a7b98.tar.gz opensim-SC_OLD-e7422fe9b212878852ffb2dea6bb24347f6a7b98.tar.bz2 opensim-SC_OLD-e7422fe9b212878852ffb2dea6bb24347f6a7b98.tar.xz |
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index ca6e44a..82c34e7 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -280,7 +280,7 @@ namespace OpenSim.Services.UserAccountService | |||
280 | if (null == account) | 280 | if (null == account) |
281 | { | 281 | { |
282 | account = new UserAccount(UUID.Zero, firstName, lastName, email); | 282 | account = new UserAccount(UUID.Zero, firstName, lastName, email); |
283 | if (account.ServiceURLs == null) | 283 | if (account.ServiceURLs == null || (account.ServiceURLs != null && account.ServiceURLs.Count == 0)) |
284 | { | 284 | { |
285 | account.ServiceURLs = new Dictionary<string, object>(); | 285 | account.ServiceURLs = new Dictionary<string, object>(); |
286 | account.ServiceURLs["HomeURI"] = string.Empty; | 286 | account.ServiceURLs["HomeURI"] = string.Empty; |