diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs index 96e043e..06a8f25 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs | |||
@@ -218,13 +218,13 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
218 | 218 | ||
219 | private void PostInventoryAsset(UUID avatarID, AssetType type, UUID assetID, string name, int userlevel) | 219 | private void PostInventoryAsset(UUID avatarID, AssetType type, UUID assetID, string name, int userlevel) |
220 | { | 220 | { |
221 | if (item.AssetType == (int)AssetType.Link) | 221 | if (type == AssetType.Link) |
222 | return; | 222 | return; |
223 | 223 | ||
224 | string userAssetServer = string.Empty; | 224 | string userAssetServer = string.Empty; |
225 | if (IsForeignUser(item.Owner, out userAssetServer) && userAssetServer != string.Empty && m_OutboundPermission) | 225 | if (IsForeignUser(avatarID, out userAssetServer) && userAssetServer != string.Empty && m_OutboundPermission) |
226 | { | 226 | { |
227 | m_assMapper.Post(item.AssetID, item.Owner, userAssetServer); | 227 | m_assMapper.Post(assetID, avatarID, userAssetServer); |
228 | } | 228 | } |
229 | } | 229 | } |
230 | 230 | ||