aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/UserAccountService/GridUserService.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/GridUserService.cs b/OpenSim/Services/UserAccountService/GridUserService.cs
index 62b82fe..af2701d 100644
--- a/OpenSim/Services/UserAccountService/GridUserService.cs
+++ b/OpenSim/Services/UserAccountService/GridUserService.cs
@@ -46,7 +46,7 @@ namespace OpenSim.Services.UserAccountService
46 46
47 public GridUserService(IConfigSource config) : base(config) 47 public GridUserService(IConfigSource config) : base(config)
48 { 48 {
49 m_log.Debug("[USER GRID SERVICE]: Starting user grid service"); 49 m_log.Debug("[GRID USER SERVICE]: Starting user grid service");
50 } 50 }
51 51
52 public virtual GridUserInfo GetGridUserInfo(string userID) 52 public virtual GridUserInfo GetGridUserInfo(string userID)
@@ -58,13 +58,17 @@ namespace OpenSim.Services.UserAccountService
58 { 58 {
59 GridUserData[] ds = m_Database.GetAll(userID); 59 GridUserData[] ds = m_Database.GetAll(userID);
60 if (ds == null) 60 if (ds == null)
61 {
62 m_log.DebugFormat("[GRID USER SERVICE]: user not found {0}", userID);
61 return null; 63 return null;
64 }
62 if (ds.Length > 0) 65 if (ds.Length > 0)
63 { 66 {
64 d = ds[0]; 67 d = ds[0];
65 foreach (GridUserData dd in ds) 68 foreach (GridUserData dd in ds)
66 if (dd.UserID.Length > d.UserID.Length) // find the longest 69 if (dd.UserID.Length > d.UserID.Length) // find the longest
67 d = dd; 70 d = dd;
71 m_log.DebugFormat("[GRID USER SERVICE]: Found user {0}", d.UserID);
68 } 72 }
69 } 73 }
70 74