Quantcast

Auto Sell List and Include List should now work properly again

ckaotik [03-14-10 - 16:01]
Auto Sell List and Include List should now work properly again
Filename
Broker_Garbage.toc
core.lua
readme.txt
diff --git a/Broker_Garbage.toc b/Broker_Garbage.toc
index 4c336db..578ad6d 100644
--- a/Broker_Garbage.toc
+++ b/Broker_Garbage.toc
@@ -8,7 +8,7 @@
 ## Notes: Full bags no more! Find your least valuable item .. and destroy it!
 ## Notes-deDE: Endlich wieder Platz! Finde dein billigstes Item ... und zerstöre es.
 ## Author: ckaotik
-## Version: 3.3v18
+## Version: 3.3v19
 ## X-Embeds: LibPeriodicTable-3.1
 ## X-Category: Inventory
 ## X-Credits: GarbageFu(Jaerin/wmrojer), tekKonfig(Tekkub), KarniCrap(Karnifex)
diff --git a/core.lua b/core.lua
index be0d99c..0f36b66 100644
--- a/core.lua
+++ b/core.lua
@@ -964,6 +964,7 @@ function BrokerGarbage:ScanInventory()
 						BrokerGarbage.checkItem = nil
 						if isInclude or BG_GlobalDB.include[itemID] or BG_LocalDB.include[itemID] then
 							-- Include List item
+							isInclude = true
 							force = true

 							local limited = BrokerGarbage:Find(limitedItemsChecked, itemID)
@@ -999,6 +1000,8 @@ function BrokerGarbage:ScanInventory()
 											end
 										end
 									end
+								else
+									limited = false
 								end
 							end

@@ -1011,6 +1014,8 @@ function BrokerGarbage:ScanInventory()

 						elseif isSell or BG_GlobalDB.autoSellList[itemID] or BG_LocalDB.autoSellList[itemID] then
 							-- AutoSell List item
+							isSell = true
+
 							value = select(11,GetItemInfo(itemID))
 							source = BrokerGarbage.tagVendorList

diff --git a/readme.txt b/readme.txt
index c1cd041..92796d0 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,7 +1,7 @@
 Broker_Garbage
 ==============
 Author: ckaotik
-Version: 3.3v18
+Version: 3.3v19
 WoW Version: 3.3.2 (TOC 30300)

 WoWInterface: http://www.wowinterface.com/downloads/info15531-Broker_Garbage.html