aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent/AssetTransaction
diff options
context:
space:
mode:
authorDiva Canto2010-07-14 11:02:41 -0700
committerDiva Canto2010-07-14 11:09:27 -0700
commit3ca3522ad154c644ff270982574b4975da201f7c (patch)
treee679ebf50c523dbfb450b2bdef92a2b853a6212a /OpenSim/Region/CoreModules/Agent/AssetTransaction
parentcomment out obsolete assert that 'item has been passed to another user since ... (diff)
downloadopensim-SC-3ca3522ad154c644ff270982574b4975da201f7c.zip
opensim-SC-3ca3522ad154c644ff270982574b4975da201f7c.tar.gz
opensim-SC-3ca3522ad154c644ff270982574b4975da201f7c.tar.bz2
opensim-SC-3ca3522ad154c644ff270982574b4975da201f7c.tar.xz
Fixes mantis #4870.
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent/AssetTransaction')
-rw-r--r--OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs
index d30e954..3d6e7f3 100644
--- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs
+++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs
@@ -182,7 +182,13 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
182 182
183 if (part.Inventory.UpdateInventoryItem(item)) 183 if (part.Inventory.UpdateInventoryItem(item))
184 { 184 {
185 remoteClient.SendAgentAlertMessage("Notecard saved", false); 185 if ((InventoryType)item.InvType == InventoryType.Notecard)
186 remoteClient.SendAgentAlertMessage("Notecard saved", false);
187 else if ((InventoryType)item.InvType == InventoryType.LSL)
188 remoteClient.SendAgentAlertMessage("Script saved", false);
189 else
190 remoteClient.SendAgentAlertMessage("Item saved", false);
191
186 part.GetProperties(remoteClient); 192 part.GetProperties(remoteClient);
187 } 193 }
188 } 194 }