aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService
diff options
context:
space:
mode:
authorMelanie2011-07-23 18:29:43 +0200
committerMelanie2011-07-23 18:29:43 +0200
commitc2de0c930c526157b464ce7a7d17a37042a3676c (patch)
tree8e4797ca1fc3be3a7702583260a450e53e0fb192 /OpenSim/Services/UserAccountService
parentFix some local id issues in physics glue (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs2
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>();