diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oUserData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs index e6a856d..38f1b55 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs | |||
@@ -83,7 +83,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
83 | { | 83 | { |
84 | foreach (UserProfileData profile in manager.userProfiles.Values) | 84 | foreach (UserProfileData profile in manager.userProfiles.Values) |
85 | { | 85 | { |
86 | if (profile.Firstname == fname && profile.Lastname == lname) | 86 | if (profile.username == fname && profile.surname == lname) |
87 | return profile; | 87 | return profile; |
88 | } | 88 | } |
89 | return null; | 89 | return null; |
@@ -98,7 +98,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
98 | { | 98 | { |
99 | try | 99 | try |
100 | { | 100 | { |
101 | return GetUserByUUID(uuid).CurrentAgent; | 101 | return GetUserByUUID(uuid).currentAgent; |
102 | } | 102 | } |
103 | catch (Exception) | 103 | catch (Exception) |
104 | { | 104 | { |
@@ -126,7 +126,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
126 | { | 126 | { |
127 | try | 127 | try |
128 | { | 128 | { |
129 | return GetUserByName(fname,lname).CurrentAgent; | 129 | return GetUserByName(fname,lname).currentAgent; |
130 | } | 130 | } |
131 | catch (Exception) | 131 | catch (Exception) |
132 | { | 132 | { |