comparison Modules/Options.lua @ 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 2d65db19d3ce
children
comparison
equal deleted inserted replaced
108:706b173b0fa1 109:c59d22fac6d1
132 get = function() return ItemAuditor.db.profile.messages.queue_skip end, 132 get = function() return ItemAuditor.db.profile.messages.queue_skip end,
133 set = function(info, value) ItemAuditor.db.profile.messages.queue_skip = value end, 133 set = function(info, value) ItemAuditor.db.profile.messages.queue_skip = value end,
134 disabled = 'IsQADisabled', 134 disabled = 'IsQADisabled',
135 order = 1, 135 order = 1,
136 }, 136 },
137 cod_warning = {
138 type = "toggle",
139 name = "COD Warning",
140 desc = "This will warn you to attach the correct COD amount if you are mailing items to another account",
141 get = function() return ItemAuditor.db.char.cod_warnings end,
142 set = function(info, value) ItemAuditor.db.char.cod_warnings = value end,
143 disabled = 'IsQADisabled',
144 order = 1,
145 },
137 output = { 146 output = {
138 type = "select", 147 type = "select",
139 name = "Output", 148 name = "Output",
140 desc = "", 149 desc = "",
141 values = Options.GetChatWindowList, 150 values = Options.GetChatWindowList,