* minor: reduce coupling by passing in only session id to CachedUserInfo

This commit is contained in:
Justin Clarke Casey
2008-07-31 15:53:07 +00:00
parent 1f7fde9436
commit 58af0fabeb
3 changed files with 18 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ namespace OpenSim.Framework.Communications.Cache
if (!m_userProfiles.ContainsKey(remoteClient.AgentId))
{
UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(remoteClient.AgentId);
CachedUserInfo userInfo = new CachedUserInfo(m_commsManager, userProfile, remoteClient);
CachedUserInfo userInfo = new CachedUserInfo(m_commsManager, userProfile, remoteClient.SessionId);
if (userInfo.UserProfile != null)
{