Mercurial > wow > itemauditor
comparison Modules/Events.lua @ 97:028c02f1d47f
Ticket 29 - Changed the Insufficient COD alert to use a case-insensitive comparison on character names.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Sat, 14 Aug 2010 06:23:41 -0700 |
| parents | 71053b1f6c1c |
| children | c59d22fac6d1 |
comparison
equal
deleted
inserted
replaced
| 96:1fbbe3b53f6e | 97:028c02f1d47f |
|---|---|
| 113 attachedValue = attachedValue + data.price + (select(2, ItemAuditor:GetItemCost(link)) * data.stacks) | 113 attachedValue = attachedValue + data.price + (select(2, ItemAuditor:GetItemCost(link)) * data.stacks) |
| 114 end | 114 end |
| 115 | 115 |
| 116 local cross_account_mail = true | 116 local cross_account_mail = true |
| 117 for name, _ in pairs(DataStore:GetCharacters()) do | 117 for name, _ in pairs(DataStore:GetCharacters()) do |
| 118 if recipient == 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 then |
