summaryrefslogtreecommitdiff
path: root/indra/newview/llgiveinventory.cpp
diff options
context:
space:
mode:
authorMaximB ProductEngine <mberezhnoy@productengine.com>2013-12-12 09:38:02 +0200
committerMaximB ProductEngine <mberezhnoy@productengine.com>2013-12-12 09:38:02 +0200
commit72d2d1a975bb971fcb9c65b8e12d6f55b6c0c17d (patch)
tree5eec61242a8557c40a66777624af4f44df2b8814 /indra/newview/llgiveinventory.cpp
parentf3a50a5084091d12aea47df1f75c1820e1d0e2d4 (diff)
MAINT-3519 (Resident is able to share worn clothes.)
Diffstat (limited to 'indra/newview/llgiveinventory.cpp')
-rwxr-xr-xindra/newview/llgiveinventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgiveinventory.cpp b/indra/newview/llgiveinventory.cpp
index 72bea8db10..0dd84b6073 100755
--- a/indra/newview/llgiveinventory.cpp
+++ b/indra/newview/llgiveinventory.cpp
@@ -139,7 +139,7 @@ bool LLGiveInventory::isInventoryGiveAcceptable(const LLInventoryItem* item)
BOOL copyable = false;
if (item->getPermissions().allowCopyBy(gAgentID)) copyable = true;
- if (!copyable && get_is_item_worn(item->getUUID()))
+ if (!copyable || get_is_item_worn(item->getUUID()))
{
acceptable = false;
}