diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs index 6543bf294b..8077a7a53b 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs @@ -91,7 +91,9 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement bool found = false; foreach (UserData d in m_UserCache.Values) { - if (d.LastName.StartsWith("@") && (d.FirstName.Equals(words[0]) || d.LastName.Equals(words[1]))) + if (d.LastName.StartsWith("@") && + (d.FirstName.ToLower().Equals(words[0].ToLower()) || + d.LastName.ToLower().Equals(words[1].ToLower()))) { users.Add(d); found = true; @@ -109,7 +111,9 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement { foreach (UserData d in m_UserCache.Values) { - if (d.LastName.StartsWith("@") && (d.FirstName.StartsWith(query) || d.LastName.StartsWith(query))) + if (d.LastName.StartsWith("@") && + (d.FirstName.ToLower().StartsWith(query.ToLower()) || + d.LastName.ToLower().StartsWith(query.ToLower()))) users.Add(d); } }