diff options
author | Diva Canto | 2010-03-03 09:16:21 -0800 |
---|---|---|
committer | Diva Canto | 2010-03-03 09:16:21 -0800 |
commit | aee887afaf3982253a2a5bf0724828a6718a406b (patch) | |
tree | ceaff591d82c60a7dfe51abae7b111e77372b625 /OpenSim | |
parent | More debug. (diff) | |
download | opensim-SC_OLD-aee887afaf3982253a2a5bf0724828a6718a406b.zip opensim-SC_OLD-aee887afaf3982253a2a5bf0724828a6718a406b.tar.gz opensim-SC_OLD-aee887afaf3982253a2a5bf0724828a6718a406b.tar.bz2 opensim-SC_OLD-aee887afaf3982253a2a5bf0724828a6718a406b.tar.xz |
Added empty service URLs upon account creation.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index e498bd5..ca6e44a 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -280,6 +280,15 @@ 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) | ||
284 | { | ||
285 | account.ServiceURLs = new Dictionary<string, object>(); | ||
286 | account.ServiceURLs["HomeURI"] = string.Empty; | ||
287 | account.ServiceURLs["GatekeeperURI"] = string.Empty; | ||
288 | account.ServiceURLs["InventoryServerURI"] = string.Empty; | ||
289 | account.ServiceURLs["AssetServerURI"] = string.Empty; | ||
290 | } | ||
291 | |||
283 | if (StoreUserAccount(account)) | 292 | if (StoreUserAccount(account)) |
284 | { | 293 | { |
285 | bool success = false; | 294 | bool success = false; |