mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Fix failure to find avatars due to trainling spaces being sent by viewers.
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user