aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/UserAccountService/AgentPreferencesService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/AgentPreferencesService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/AgentPreferencesService.cs b/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
index f8d2e29..1808ee5 100644
--- a/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
+++ b/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic;
29using System.Reflection; 30using System.Reflection;
30using log4net; 31using log4net;
31using Nini.Config; 32using Nini.Config;
@@ -55,11 +56,12 @@ namespace OpenSim.Services.UserAccountService
55 public bool StoreAgentPreferences(AgentPrefs data) 56 public bool StoreAgentPreferences(AgentPrefs data)
56 { 57 {
57 AgentPreferencesData d = new AgentPreferencesData(); 58 AgentPreferencesData d = new AgentPreferencesData();
59 d.Data = new Dictionary<string, string>();
58 d.Data["PrincipalID"] = data.PrincipalID.ToString(); 60 d.Data["PrincipalID"] = data.PrincipalID.ToString();
59 d.Data["AccessPrefs"] = data.AccessPrefs; 61 d.Data["AccessPrefs"] = data.AccessPrefs;
60 d.Data["HoverHeight"] = data.HoverHeight.ToString(); 62 d.Data["HoverHeight"] = data.HoverHeight.ToString();
61 d.Data["Language"] = data.Language; 63 d.Data["Language"] = data.Language;
62 d.Data["LanguageIsPublic"] = data.LanguageIsPublic.ToString(); 64 d.Data["LanguageIsPublic"] = (data.LanguageIsPublic ? "1" : "0");
63 d.Data["PermEveryone"] = data.PermEveryone.ToString(); 65 d.Data["PermEveryone"] = data.PermEveryone.ToString();
64 d.Data["PermGroup"] = data.PermGroup.ToString(); 66 d.Data["PermGroup"] = data.PermGroup.ToString();
65 d.Data["PermNextOwner"] = data.PermNextOwner.ToString(); 67 d.Data["PermNextOwner"] = data.PermNextOwner.ToString();