From 70081a40a4892b5d3e58218a8cd15a689d875ad0 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Wed, 24 Apr 2013 12:45:19 -0700 Subject: 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. --- .../Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules') diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs index 77e8b00..7b823ba 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs @@ -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); -- cgit v1.1