# HG changeset patch # User Asa Ayers # Date 1282961295 25200 # Node ID c59d22fac6d11b359400b00468a67ff07b86ec82 # Parent 706b173b0fa13d67eeff5f9b77dd4c0057879c21 Added an option to enable the COD warning under /ia options > Messages > COD Warning. This is on by default. diff -r 706b173b0fa1 -r c59d22fac6d1 CHANGELOG.txt --- 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 + +- Added an option to enable the COD warning under /ia options > Messages > COD Warning. This is on by default. + 2010-08-24 Asa Ayers - Ticket 20 - Added a Skip Singles option to the Crafting Rules. diff -r 706b173b0fa1 -r c59d22fac6d1 Core.lua --- 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 = { diff -r 706b173b0fa1 -r c59d22fac6d1 Modules/Events.lua --- 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 = ... diff -r 706b173b0fa1 -r c59d22fac6d1 Modules/Options.lua --- 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",