mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* minor: reduce coupling by passing in only session id to CachedUserInfo
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user