# HG changeset patch # User Zerotorescue # Date 1294438473 -3600 # Node ID 88898c1e9e611d03911ac5b1c78801dcef84afee # Parent f10e9b7b7a5ec2c998a440b09de81822399d1f1b Fixed queueing of items which have none at the AH. diff -r f10e9b7b7a5e -r 88898c1e9e61 Modules/Queue.lua --- a/Modules/Queue.lua Fri Jan 07 22:28:35 2011 +0100 +++ b/Modules/Queue.lua Fri Jan 07 23:14:33 2011 +0100 @@ -109,8 +109,9 @@ -- Auction value settings local priceThreshold = addon:GetOptionByKey(groupName, "priceThreshold"); + local value = (priceThreshold ~= 0 and addon:GetAuctionValue(itemLink, groupName)); - if priceThreshold == 0 or addon:GetAuctionValue(itemLink, groupName) >= priceThreshold then + if priceThreshold == 0 or value == -1 or value >= priceThreshold then -- If no price threshold is set or the auction value is equal to or larger than the price threshold, then proceed self:Queue(i, amount, groupName);