diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/DB4o/DB4oUserData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/DB4o/DB4oUserData.cs b/OpenSim/Data/DB4o/DB4oUserData.cs index 62671e3..d0108ab 100644 --- a/OpenSim/Data/DB4o/DB4oUserData.cs +++ b/OpenSim/Data/DB4o/DB4oUserData.cs | |||
@@ -85,7 +85,7 @@ namespace OpenSim.Data.DB4o | |||
85 | { | 85 | { |
86 | foreach (UserProfileData profile in manager.userProfiles.Values) | 86 | foreach (UserProfileData profile in manager.userProfiles.Values) |
87 | { | 87 | { |
88 | if (profile.username == fname && profile.surname == lname) | 88 | if (profile.FirstName == fname && profile.SurName == lname) |
89 | return profile; | 89 | return profile; |
90 | } | 90 | } |
91 | return null; | 91 | return null; |
@@ -100,7 +100,7 @@ namespace OpenSim.Data.DB4o | |||
100 | { | 100 | { |
101 | try | 101 | try |
102 | { | 102 | { |
103 | return GetUserByUUID(uuid).currentAgent; | 103 | return GetUserByUUID(uuid).CurrentAgent; |
104 | } | 104 | } |
105 | catch (Exception) | 105 | catch (Exception) |
106 | { | 106 | { |
@@ -128,7 +128,7 @@ namespace OpenSim.Data.DB4o | |||
128 | { | 128 | { |
129 | try | 129 | try |
130 | { | 130 | { |
131 | return GetUserByName(fname, lname).currentAgent; | 131 | return GetUserByName(fname, lname).CurrentAgent; |
132 | } | 132 | } |
133 | catch (Exception) | 133 | catch (Exception) |
134 | { | 134 | { |
@@ -138,7 +138,7 @@ namespace OpenSim.Data.DB4o | |||
138 | public void StoreWebLoginKey(LLUUID AgentID, LLUUID WebLoginKey) | 138 | public void StoreWebLoginKey(LLUUID AgentID, LLUUID WebLoginKey) |
139 | { | 139 | { |
140 | UserProfileData user = GetUserByUUID(AgentID); | 140 | UserProfileData user = GetUserByUUID(AgentID); |
141 | user.webLoginKey = WebLoginKey; | 141 | user.WebLoginKey = WebLoginKey; |
142 | UpdateUserProfile(user); | 142 | UpdateUserProfile(user); |
143 | 143 | ||
144 | } | 144 | } |