aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2013-04-24 12:45:19 -0700
committerDiva Canto2013-04-24 12:45:19 -0700
commit70081a40a4892b5d3e58218a8cd15a689d875ad0 (patch)
tree1a686c02d800828e6f00a25f2f4acc1de32b54a1
parentrevert CSJ2K.dll to version in use prior to commit d4fa2c69ed2895dcab76e0df1b... (diff)
downloadopensim-SC_OLD-70081a40a4892b5d3e58218a8cd15a689d875ad0.zip
opensim-SC_OLD-70081a40a4892b5d3e58218a8cd15a689d875ad0.tar.gz
opensim-SC_OLD-70081a40a4892b5d3e58218a8cd15a689d875ad0.tar.bz2
opensim-SC_OLD-70081a40a4892b5d3e58218a8cd15a689d875ad0.tar.xz
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.
-rw-r--r--OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs2
1 files changed, 1 insertions, 1 deletions
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
200 // search the local cache 200 // search the local cache
201 foreach (UserData data in m_UserCache.Values) 201 foreach (UserData data in m_UserCache.Values)
202 if (users.Find(delegate(UserData d) { return d.Id == data.Id; }) == null && 202 if (users.Find(delegate(UserData d) { return d.Id == data.Id; }) == null &&
203 (data.FirstName.StartsWith(query) || data.LastName.StartsWith(query))) 203 (data.FirstName.ToLower().StartsWith(query.ToLower()) || data.LastName.ToLower().StartsWith(query.ToLower())))
204 users.Add(data); 204 users.Add(data);
205 205
206 AddAdditionalUsers(avatarID, query, users); 206 AddAdditionalUsers(avatarID, query, users);