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.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/AgentPreferencesService.cs b/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
index 1808ee5..5013152 100644
--- a/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
+++ b/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
@@ -49,7 +49,7 @@ namespace OpenSim.Services.UserAccountService
49 public AgentPrefs GetAgentPreferences(UUID principalID) 49 public AgentPrefs GetAgentPreferences(UUID principalID)
50 { 50 {
51 AgentPreferencesData d = m_Database.GetPrefs(principalID); 51 AgentPreferencesData d = m_Database.GetPrefs(principalID);
52 AgentPrefs prefs = (d == null) ? new AgentPrefs(principalID) : new AgentPrefs(d.Data); 52 AgentPrefs prefs = (d == null) ? null : new AgentPrefs(d.Data);
53 return prefs; 53 return prefs;
54 } 54 }
55 55