Mercurial > wow > itemauditor
diff Modules/QuickAuctions.lua @ 23:819bfdc5d73c
More debug messages and added the ability to scroll the debug window.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Thu, 08 Jul 2010 23:55:05 -0700 |
parents | d7f02c84994c |
children | 554b30908b33 |
line wrap: on
line diff
--- a/Modules/QuickAuctions.lua Thu Jul 08 19:30:30 2010 -0700 +++ b/Modules/QuickAuctions.lua Thu Jul 08 23:55:05 2010 -0700 @@ -169,8 +169,13 @@ profit = (currentPrice - newCost) * toQueue } profitableIndex = profitableIndex + 1 - elseif ItemAuditor.db.profile.messages.queue_skip then - self:Print(format("Skipping %s x%s. Profit: %s ", itemLink, toQueue, addon:FormatMoney(currentPrice - newCost))) + else + local skipMessage = format("Skipping %s x%s. Profit: %s ", itemLink, toQueue, addon:FormatMoney(currentPrice - newCost)) + if ItemAuditor.db.profile.messages.queue_skip then + self:Print(skipMessage) + else + self:Debug(format("Skipping %s x%s. Profit: %s ", itemLink, toQueue, addon:FormatMoney(currentPrice - newCost))) + end end end end