aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/CachedUserInfo.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index 847909a..7902240 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -229,7 +229,7 @@ namespace OpenSim.Framework.Communications.Cache
229 } 229 }
230 else 230 else
231 { 231 {
232 InventoryFolderImpl folder = RootFolder.HasSubFolder(folderInfo.ParentID); 232 InventoryFolderImpl folder = RootFolder.GetDescendentFolder(folderInfo.ParentID);
233 lock (folder.SubFolders) 233 lock (folder.SubFolders)
234 { 234 {
235 if (folder != null) 235 if (folder != null)
@@ -283,7 +283,7 @@ namespace OpenSim.Framework.Communications.Cache
283 } 283 }
284 else 284 else
285 { 285 {
286 InventoryFolderImpl folder = RootFolder.HasSubFolder(itemInfo.Folder); 286 InventoryFolderImpl folder = RootFolder.GetDescendentFolder(itemInfo.Folder);
287 if (folder != null) 287 if (folder != null)
288 { 288 {
289 lock (folder.Items) 289 lock (folder.Items)