Mercurial > wow > itemauditor
diff Modules/QuickAuctions.lua @ 129:5f6182a97d40
Re-enabled IA QuickAuctions decider. I unintentionally disabled it when working on the QAManager code.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Fri, 03 Sep 2010 22:30:31 -0700 |
parents | d94195157a6b |
children | 613fd4bc6999 |
line wrap: on
line diff
--- a/Modules/QuickAuctions.lua Thu Sep 02 23:59:09 2010 -0700 +++ b/Modules/QuickAuctions.lua Fri Sep 03 22:30:31 2010 -0700 @@ -118,7 +118,7 @@ end local function isProfitable(data) - if ItemAuditor.IsQAEnabled() then + if ItemAuditor:IsQACompatible() then local QAGroup = QAAPI:GetItemGroup(data.link) if QAGroup ~= nil then local currentInvested, _, currentCount = ItemAuditor:GetItemCost(data.link) @@ -157,8 +157,7 @@ set = function(info, value) ItemAuditor.db.char.qa_extra = value end, - handler = ItemAuditor, - disabled = 'IsQACompatible', + disabled = function() return not ItemAuditor:IsQACompatible() end, order = 10, }, }