Fix a null ref from trying to access a dictionary that was never initialized.

slimupdates
Melanie 2010-04-30 19:28:44 +01:00
parent 0ea908291d
commit d1fcd22173
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
protected Dictionary<UUID, Dictionary<AssetType, InventoryFolderBase>> m_InventoryCache; protected Dictionary<UUID, Dictionary<AssetType, InventoryFolderBase>> m_InventoryCache;
// A cache of userIDs --> ServiceURLs, for HGBroker only // A cache of userIDs --> ServiceURLs, for HGBroker only
protected Dictionary<UUID, string> m_InventoryURLs; protected Dictionary<UUID, string> m_InventoryURLs =
new Dictionary<UUID, string>();
public virtual void Init(IConfigSource source, BaseInventoryConnector connector) public virtual void Init(IConfigSource source, BaseInventoryConnector connector)
{ {