aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index f1268d5..9749366 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -272,8 +272,13 @@ namespace OpenSim.Framework.Communications.Cache
272 { 272 {
273 if (!RootFolder.Items.ContainsKey(itemInfo.ID)) 273 if (!RootFolder.Items.ContainsKey(itemInfo.ID))
274 { 274 {
275
275 RootFolder.Items.Add(itemInfo.ID, itemInfo); 276 RootFolder.Items.Add(itemInfo.ID, itemInfo);
276 } 277 }
278 else
279 {
280 RootFolder.Items[itemInfo.ID] = itemInfo;
281 }
277 } 282 }
278 } 283 }
279 else 284 else
@@ -287,6 +292,10 @@ namespace OpenSim.Framework.Communications.Cache
287 { 292 {
288 folder.Items.Add(itemInfo.ID, itemInfo); 293 folder.Items.Add(itemInfo.ID, itemInfo);
289 } 294 }
295 else
296 {
297 folder.Items[itemInfo.ID] = itemInfo;
298 }
290 } 299 }
291 } 300 }
292 } 301 }