aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-22 15:19:43 +0000
committerMelanie Thielker2009-03-22 15:19:43 +0000
commit73a982babe7a976d024fea6a00a78321fefa8e5e (patch)
tree8eb37023cfe03a5d6c17306497f9ce18c8200150 /OpenSim/Framework/Communications
parentCause the inventory give module to be more selective and not attempt to (diff)
downloadopensim-SC_OLD-73a982babe7a976d024fea6a00a78321fefa8e5e.zip
opensim-SC_OLD-73a982babe7a976d024fea6a00a78321fefa8e5e.tar.gz
opensim-SC_OLD-73a982babe7a976d024fea6a00a78321fefa8e5e.tar.bz2
opensim-SC_OLD-73a982babe7a976d024fea6a00a78321fefa8e5e.tar.xz
Fox a null ref in the inventory give module
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index 57c3ece..03569f6 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -786,6 +786,9 @@ namespace OpenSim.Framework.Communications.Cache
786 return true; 786 return true;
787 } 787 }
788 788
789 item = new InventoryItemBase();
790 item.ID = itemID;
791
789 InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item); 792 InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item);
790 if (itemInfo != null) 793 if (itemInfo != null)
791 { 794 {