diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCache.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCache.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs index ccf5024..74b2440 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs | |||
@@ -90,7 +90,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
90 | { | 90 | { |
91 | InventoryFolderImpl createdFolder = | 91 | InventoryFolderImpl createdFolder = |
92 | userProfile.RootFolder.CreateNewSubFolder(folderID, folderName, folderType); | 92 | userProfile.RootFolder.CreateNewSubFolder(folderID, folderName, folderType); |
93 | 93 | ||
94 | if (createdFolder != null) | 94 | if (createdFolder != null) |
95 | { | 95 | { |
96 | m_parent.InventoryService.AddNewInventoryFolder(remoteClient.AgentId, createdFolder); | 96 | m_parent.InventoryService.AddNewInventoryFolder(remoteClient.AgentId, createdFolder); |
@@ -119,7 +119,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
119 | 119 | ||
120 | return; | 120 | return; |
121 | } | 121 | } |
122 | 122 | ||
123 | if ((fold = libraryRoot.HasSubFolder(folderID)) != null) | 123 | if ((fold = libraryRoot.HasSubFolder(folderID)) != null) |
124 | { | 124 | { |
125 | remoteClient.SendInventoryFolderDetails(libraryRoot.agentID, folderID, fold.RequestListOfItems()); | 125 | remoteClient.SendInventoryFolderDetails(libraryRoot.agentID, folderID, fold.RequestListOfItems()); |
@@ -129,7 +129,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
129 | 129 | ||
130 | CachedUserInfo userProfile; | 130 | CachedUserInfo userProfile; |
131 | if (m_userProfiles.TryGetValue(remoteClient.AgentId, out userProfile)) | 131 | if (m_userProfiles.TryGetValue(remoteClient.AgentId, out userProfile)) |
132 | { | 132 | { |
133 | if (userProfile.RootFolder != null) | 133 | if (userProfile.RootFolder != null) |
134 | { | 134 | { |
135 | if (userProfile.RootFolder.folderID == folderID) | 135 | if (userProfile.RootFolder.folderID == folderID) |