aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie2012-11-05 00:05:01 +0000
committerMelanie2012-11-05 00:05:01 +0000
commit236cc1f2686e16d8c3d80bce39f5aa13b177dbcc (patch)
tree2f2def3a48ac3d4acab7e5bb2e4729e7d5b48eb0 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentPrevent IMs being sent to prims when avies decline inventory offers from them. (diff)
downloadopensim-SC_OLD-236cc1f2686e16d8c3d80bce39f5aa13b177dbcc.zip
opensim-SC_OLD-236cc1f2686e16d8c3d80bce39f5aa13b177dbcc.tar.gz
opensim-SC_OLD-236cc1f2686e16d8c3d80bce39f5aa13b177dbcc.tar.bz2
opensim-SC_OLD-236cc1f2686e16d8c3d80bce39f5aa13b177dbcc.tar.xz
Change user message on TeskInventoryAccepted to let the viewer format it
properly
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 0fa247d..be030af 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3963,17 +3963,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3963 3963
3964 if (m_TransferModule != null) 3964 if (m_TransferModule != null)
3965 { 3965 {
3966 byte[] bucket = new byte[] { (byte)item.Type }; 3966 byte[] bucket = new byte[1];
3967 bucket[0] = (byte)item.Type;
3967 3968
3968 GridInstantMessage msg = new GridInstantMessage(World, 3969 GridInstantMessage msg = new GridInstantMessage(World,
3969 m_host.UUID, m_host.Name + ", an object owned by " + 3970 m_host.OwnerID, m_host.Name, destId,
3970 resolveName(m_host.OwnerID) + ",", destId,
3971 (byte)InstantMessageDialog.TaskInventoryOffered, 3971 (byte)InstantMessageDialog.TaskInventoryOffered,
3972 false, item.Name + "\n" + m_host.Name + " is located at " + 3972 false, item.Name+". "+m_host.Name+" is located at "+
3973 World.RegionInfo.RegionName+" "+ 3973 World.RegionInfo.RegionName+" "+
3974 m_host.AbsolutePosition.ToString(), 3974 m_host.AbsolutePosition.ToString(),
3975 agentItem.ID, true, m_host.AbsolutePosition, 3975 agentItem.ID, true, m_host.AbsolutePosition,
3976 bucket, true); // TODO: May actually send no timestamp 3976 bucket, true);
3977 3977
3978 m_TransferModule.SendInstantMessage(msg, delegate(bool success) {}); 3978 m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
3979 } 3979 }