From 95cd770b9e90bf1c642214e86a35ce9a3a46e2e3 Mon Sep 17 00:00:00 2001 From: ole1986 Date: Mon, 11 Aug 2014 11:59:45 +0200 Subject: [PATCH] slightly changes --- plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs b/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs index 67f9aba..07f9fbd 100644 --- a/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs +++ b/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs @@ -373,16 +373,16 @@ namespace Radegast.Plugin.EVOVend Inventory.RootFolder.OwnerID = Client.Self.AgentID; - instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Queue List"); - var strContent = this.RequestVendor("GETOUTSTANDING"); List queue = this.parseResponse(strContent); + instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": " + queue.Count + " Items in Queue List"); - // check if i have something to do - if (queue.Count <= 0) return; - - foreach (DeliveryQueue p in queue) - this.SendObject(p); + // check if something neddc to be done + if (queue.Count > 0) + { + foreach (DeliveryQueue p in queue) + this.SendObject(p); + } isSending = false; } -- 2.11.0