diff options
author | Diva Canto | 2014-05-07 17:00:12 -0700 |
---|---|---|
committer | Diva Canto | 2014-05-07 17:00:12 -0700 |
commit | f4cba27105f68914de455cf6a27b9126e086cea1 (patch) | |
tree | d87599f942f1e839dc4262f18c946564528314be /OpenSim/Addons/Groups/GroupsModule.cs | |
parent | Allow Tools.Configger to take -inifile as argument (diff) | |
parent | Add GridUserService service config to [UserAccountService] in Robust[.HG].ini... (diff) | |
download | opensim-SC-f4cba27105f68914de455cf6a27b9126e086cea1.zip opensim-SC-f4cba27105f68914de455cf6a27b9126e086cea1.tar.gz opensim-SC-f4cba27105f68914de455cf6a27b9126e086cea1.tar.bz2 opensim-SC-f4cba27105f68914de455cf6a27b9126e086cea1.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs index f11606a..2831326 100644 --- a/OpenSim/Addons/Groups/GroupsModule.cs +++ b/OpenSim/Addons/Groups/GroupsModule.cs | |||
@@ -496,12 +496,13 @@ namespace OpenSim.Groups | |||
496 | Util.ParseUniversalUserIdentifier(notice.noticeData.AttachmentOwnerID, out giver, out tmp, out tmp, out tmp, out tmp); | 496 | Util.ParseUniversalUserIdentifier(notice.noticeData.AttachmentOwnerID, out giver, out tmp, out tmp, out tmp, out tmp); |
497 | 497 | ||
498 | m_log.DebugFormat("[Groups]: Giving inventory from {0} to {1}", giver, remoteClient.AgentId); | 498 | m_log.DebugFormat("[Groups]: Giving inventory from {0} to {1}", giver, remoteClient.AgentId); |
499 | string message; | ||
499 | InventoryItemBase itemCopy = ((Scene)(remoteClient.Scene)).GiveInventoryItem(remoteClient.AgentId, | 500 | InventoryItemBase itemCopy = ((Scene)(remoteClient.Scene)).GiveInventoryItem(remoteClient.AgentId, |
500 | giver, notice.noticeData.AttachmentItemID); | 501 | giver, notice.noticeData.AttachmentItemID, out message); |
501 | 502 | ||
502 | if (itemCopy == null) | 503 | if (itemCopy == null) |
503 | { | 504 | { |
504 | remoteClient.SendAgentAlertMessage("Can't find item to give. Nothing given.", false); | 505 | remoteClient.SendAgentAlertMessage(message, false); |
505 | return; | 506 | return; |
506 | } | 507 | } |
507 | 508 | ||