diff options
author | Melanie | 2011-07-23 18:29:43 +0200 |
---|---|---|
committer | Melanie | 2011-07-23 18:29:43 +0200 |
commit | c2de0c930c526157b464ce7a7d17a37042a3676c (patch) | |
tree | 8e4797ca1fc3be3a7702583260a450e53e0fb192 /OpenSim/Services/UserAccountService/UserAccountService.cs | |
parent | Fix some local id issues in physics glue (diff) | |
download | opensim-SC_OLD-c2de0c930c526157b464ce7a7d17a37042a3676c.zip opensim-SC_OLD-c2de0c930c526157b464ce7a7d17a37042a3676c.tar.gz opensim-SC_OLD-c2de0c930c526157b464ce7a7d17a37042a3676c.tar.bz2 opensim-SC_OLD-c2de0c930c526157b464ce7a7d17a37042a3676c.tar.xz |
Fix failure to find avatars due to trainling spaces being sent by viewers.
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index dbf5ef4..7a46165 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -288,7 +288,7 @@ namespace OpenSim.Services.UserAccountService | |||
288 | 288 | ||
289 | public List<UserAccount> GetUserAccounts(UUID scopeID, string query) | 289 | public List<UserAccount> GetUserAccounts(UUID scopeID, string query) |
290 | { | 290 | { |
291 | UserAccountData[] d = m_Database.GetUsers(scopeID, query); | 291 | UserAccountData[] d = m_Database.GetUsers(scopeID, query.Trim()); |
292 | 292 | ||
293 | if (d == null) | 293 | if (d == null) |
294 | return new List<UserAccount>(); | 294 | return new List<UserAccount>(); |