Mercurial > wow > itemauditor
changeset 109:c59d22fac6d1
Added an option to enable the COD warning under /ia options > Messages > COD Warning. This is on by default.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Fri, 27 Aug 2010 19:08:15 -0700 |
parents | 706b173b0fa1 |
children | cf160210433c |
files | CHANGELOG.txt Core.lua Modules/Events.lua Modules/Options.lua |
diffstat | 4 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG.txt Tue Aug 24 22:40:07 2010 -0700 +++ b/CHANGELOG.txt Fri Aug 27 19:08:15 2010 -0700 @@ -1,3 +1,7 @@ +2010-08-27 Asa Ayers <Asa.Ayers@Gmail.com> + +- Added an option to enable the COD warning under /ia options > Messages > COD Warning. This is on by default. + 2010-08-24 Asa Ayers <Asa.Ayers@Gmail.com> - Ticket 20 - Added a Skip Singles option to the Crafting Rules.
--- a/Core.lua Tue Aug 24 22:40:07 2010 -0700 +++ b/Core.lua Fri Aug 27 19:08:15 2010 -0700 @@ -50,6 +50,7 @@ auction_threshold = 0.15, qa_extra = 0, output_chat_frame = nil, + cod_warnings = true, }, profile = { messages = {
--- a/Modules/Events.lua Tue Aug 24 22:40:07 2010 -0700 +++ b/Modules/Events.lua Fri Aug 27 19:08:15 2010 -0700 @@ -120,7 +120,7 @@ break end end - if cross_account_mail and attachedValue > self.mailOutbox.COD and not skipCODCheck then + if cross_account_mail and attachedValue > self.mailOutbox.COD and not skipCODCheck and ItemAuditor.db.char.cod_warnings then self:GenerateBlankOutbox() skipCODCheck = false; local vararg = ...
--- a/Modules/Options.lua Tue Aug 24 22:40:07 2010 -0700 +++ b/Modules/Options.lua Fri Aug 27 19:08:15 2010 -0700 @@ -134,6 +134,15 @@ disabled = 'IsQADisabled', order = 1, }, + cod_warning = { + type = "toggle", + name = "COD Warning", + desc = "This will warn you to attach the correct COD amount if you are mailing items to another account", + get = function() return ItemAuditor.db.char.cod_warnings end, + set = function(info, value) ItemAuditor.db.char.cod_warnings = value end, + disabled = 'IsQADisabled', + order = 1, + }, output = { type = "select", name = "Output",