Avatar login names are no longer case sensitive

afrisby
Brian McBee 2007-08-28 01:16:33 +00:00
parent e92f2accad
commit a415472ae3
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ namespace OpenSim.Framework.Data.DB4o
{ {
foreach (UserProfileData profile in manager.userProfiles.Values) foreach (UserProfileData profile in manager.userProfiles.Values)
{ {
if (profile.username == fname && profile.surname == lname) if (profile.username.ToUpper() == fname.ToUpper() && profile.surname.ToUpper() == lname.ToUpper())
return profile; return profile;
} }
return null; return null;