Mercurial > wow > itemauditor
comparison Modules/Events.lua @ 150:47885ba83d38 Release 2010-10-30
Removed some debugging code that caused characters on your own account to use the cross-account mail.
Addes support GnomeWorks and ATSW queues.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Mon, 18 Oct 2010 19:25:44 -0700 |
| parents | 03e108d12ef1 |
| children | 091bae7bfca0 |
comparison
equal
deleted
inserted
replaced
| 149:c949a0f26d9e | 150:47885ba83d38 |
|---|---|
| 118 local realm = GetRealmName() | 118 local realm = GetRealmName() |
| 119 for account in pairs(DataStore:GetAccounts()) do | 119 for account in pairs(DataStore:GetAccounts()) do |
| 120 for character in pairs(DataStore:GetCharacters(realm, account)) do | 120 for character in pairs(DataStore:GetCharacters(realm, account)) do |
| 121 if strlower(recipient) == strlower(character) then | 121 if strlower(recipient) == strlower(character) then |
| 122 destinationType = (account == 'Default') and 'same_account' or 'owned_account' | 122 destinationType = (account == 'Default') and 'same_account' or 'owned_account' |
| 123 destinationType = 'owned_account' | |
| 124 break | 123 break |
| 125 end | 124 end |
| 126 end | 125 end |
| 127 end | 126 end |
| 128 self.mailOutbox.destinationType = destinationType | 127 self.mailOutbox.destinationType = destinationType |
