diff options
Diffstat (limited to 'OpenSim/Framework/Data.DB4o/DB4oUserData.cs')
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oUserData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs index d1f47ae..ef4211e 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs | |||
@@ -82,7 +82,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
82 | { | 82 | { |
83 | foreach (UserProfileData profile in manager.userProfiles.Values) | 83 | foreach (UserProfileData profile in manager.userProfiles.Values) |
84 | { | 84 | { |
85 | if (profile.username.ToUpper() == fname.ToUpper() && profile.surname.ToUpper() == lname.ToUpper()) | 85 | if (profile.username == fname && profile.surname == lname) |
86 | return profile; | 86 | return profile; |
87 | } | 87 | } |
88 | return null; | 88 | return null; |