Bug fix: compare tolower. This should fix the issue where HG visitors currently in the region were not being found by the avatar picker window.
parent
ed22014646
commit
70081a40a4
|
@ -200,7 +200,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
|||
// search the local cache
|
||||
foreach (UserData data in m_UserCache.Values)
|
||||
if (users.Find(delegate(UserData d) { return d.Id == data.Id; }) == null &&
|
||||
(data.FirstName.StartsWith(query) || data.LastName.StartsWith(query)))
|
||||
(data.FirstName.ToLower().StartsWith(query.ToLower()) || data.LastName.ToLower().StartsWith(query.ToLower())))
|
||||
users.Add(data);
|
||||
|
||||
AddAdditionalUsers(avatarID, query, users);
|
||||
|
|
Loading…
Reference in New Issue