aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
index 6a7be78..23bddcf 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
@@ -27,6 +27,7 @@
27*/ 27*/
28using System.Collections.Generic; 28using System.Collections.Generic;
29using libsecondlife; 29using libsecondlife;
30using OpenSim.Framework.Console;
30 31
31namespace OpenSim.Framework.Communications.Cache 32namespace OpenSim.Framework.Communications.Cache
32{ 33{
@@ -61,12 +62,14 @@ namespace OpenSim.Framework.Communications.Cache
61 62
62 if (userInfo.UserProfile != null) 63 if (userInfo.UserProfile != null)
63 { 64 {
64 RequestInventoryForUser(userID, userInfo); 65 // The request itself will occur when the agent finishes logging on to the region
66 // so there's no need to do it here.
67 //RequestInventoryForUser(userID, userInfo);
65 m_userProfiles.Add(userID, userInfo); 68 m_userProfiles.Add(userID, userInfo);
66 } 69 }
67 else 70 else
68 { 71 {
69 System.Console.WriteLine("CACHE", "User profile for user not found"); 72 MainLog.Instance.Error("USERCACHE", "User profile for user {0} not found", userID);
70 } 73 }
71 } 74 }
72 } 75 }