diff options
author | Melanie | 2011-02-27 18:55:17 +0100 |
---|---|---|
committer | Melanie | 2011-02-27 18:55:17 +0100 |
commit | 11105d38bdd8eb3eb3eb29eac7f054a2bdc22baf (patch) | |
tree | 889dee78eb80c247af760d8c37d810f3c64b7874 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-11105d38bdd8eb3eb3eb29eac7f054a2bdc22baf.zip opensim-SC_OLD-11105d38bdd8eb3eb3eb29eac7f054a2bdc22baf.tar.gz opensim-SC_OLD-11105d38bdd8eb3eb3eb29eac7f054a2bdc22baf.tar.bz2 opensim-SC_OLD-11105d38bdd8eb3eb3eb29eac7f054a2bdc22baf.tar.xz |
Fix a few little things
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 9150257..bc892e0 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -303,6 +303,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
303 | // Passing something to another avatar or a an object will already | 303 | // Passing something to another avatar or a an object will already |
304 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); | 304 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); |
305 | item = InventoryService.GetItem(item); | 305 | item = InventoryService.GetItem(item); |
306 | if (item.Owner != remoteClient.AgentId) | ||
307 | return; | ||
306 | 308 | ||
307 | if (item != null) | 309 | if (item != null) |
308 | { | 310 | { |