From 261a709ca49e52d47815fbae4706e251b768d54d Mon Sep 17 00:00:00 2001 From: ole1986 Date: Mon, 11 Aug 2014 23:23:05 +0200 Subject: [PATCH] fixed offeredAgent --- plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs b/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs index ebe5e3a..fb06817 100644 --- a/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs +++ b/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs @@ -107,7 +107,7 @@ namespace Radegast.Plugin.EVOVend Dictionary param = new Dictionary(); param.Add("invUUID", e.Item.UUID.ToString()); - param.Add("userUUID", e.Item.LastOwnerID.ToString()); + param.Add("userUUID", offeredAgent.ToString()); param.Add("name", e.Item.Name); if(e.Item.SaleType != SaleType.Not) @@ -120,9 +120,9 @@ namespace Radegast.Plugin.EVOVend int result = Int32.Parse(str); if(result > 0) - instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Product " + e.Item.Name + " from Agent " + e.Item.LastOwnerID +" accepted and inserted", ChatBufferTextStyle.StatusBlue); + instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Product " + e.Item.Name + " from Agent " + offeredAgent.ToString() + " accepted and inserted", ChatBufferTextStyle.StatusBlue); else - instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Failed to insert " + e.Item.Name + " from Agent " + e.Item.LastOwnerID, ChatBufferTextStyle.Error); + instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Failed to insert " + e.Item.Name + " from Agent " + offeredAgent.ToString(), ChatBufferTextStyle.Error); offeredAgent = UUID.Zero; } -- 2.11.0