Fix failure to find avatars due to trainling spaces being sent by viewers.

This commit is contained in:
Melanie
2011-07-23 18:29:43 +02:00
parent b5fcd2caba
commit c2de0c930c
2 changed files with 4 additions and 1 deletions

View File

@@ -288,7 +288,7 @@ namespace OpenSim.Services.UserAccountService
public List<UserAccount> GetUserAccounts(UUID scopeID, string query)
{
UserAccountData[] d = m_Database.GetUsers(scopeID, query);
UserAccountData[] d = m_Database.GetUsers(scopeID, query.Trim());
if (d == null)
return new List<UserAccount>();