Mercurial > wow > itemauditor
comparison Modules/Events.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 | 028c02f1d47f |
children | 52e8cad9ccc4 |
comparison
equal
deleted
inserted
replaced
108:706b173b0fa1 | 109:c59d22fac6d1 |
---|---|
118 if strlower(recipient) == strlower(name) then | 118 if strlower(recipient) == strlower(name) then |
119 cross_account_mail = false | 119 cross_account_mail = false |
120 break | 120 break |
121 end | 121 end |
122 end | 122 end |
123 if cross_account_mail and attachedValue > self.mailOutbox.COD and not skipCODCheck then | 123 if cross_account_mail and attachedValue > self.mailOutbox.COD and not skipCODCheck and ItemAuditor.db.char.cod_warnings then |
124 self:GenerateBlankOutbox() | 124 self:GenerateBlankOutbox() |
125 skipCODCheck = false; | 125 skipCODCheck = false; |
126 local vararg = ... | 126 local vararg = ... |
127 StaticPopupDialogs["ItemAuditor_Insufficient_COD"].OnAccept = function() | 127 StaticPopupDialogs["ItemAuditor_Insufficient_COD"].OnAccept = function() |
128 skipCODCheck = true | 128 skipCODCheck = true |