Mercurial > wow > mailopener
comparison Core.lua @ 129:b54116796220
I had a weird bug where MailOpener was waiting for itself to finish opening mail. This should no longer occur.
| author | Zerotorescue |
|---|---|
| date | Wed, 20 Oct 2010 22:31:30 +0200 |
| parents | 31f58e9c16e6 |
| children | 27d81641c1e7 |
comparison
equal
deleted
inserted
replaced
| 128:23f05488970d | 129:b54116796220 |
|---|---|
| 572 | 572 |
| 573 self:Debug("MO_OPEN_MAIL"); | 573 self:Debug("MO_OPEN_MAIL"); |
| 574 | 574 |
| 575 -- Summon the mail opening gods | 575 -- Summon the mail opening gods |
| 576 self:SendMessage("MO_OPEN_MAIL"); | 576 self:SendMessage("MO_OPEN_MAIL"); |
| 577 else | 577 elseif MailAddonBusy ~= self:GetName() then |
| 578 -- Another addon is ACTIVE | 578 -- Another addon is ACTIVE |
| 579 self:Debug("Another addon active, waiting .5 seconds... (" .. MailAddonBusy .. ")"); | 579 self:Debug("Another addon active, waiting .5 seconds... (" .. MailAddonBusy .. ")"); |
| 580 | 580 |
| 581 self:CancelTimer(self.tmrTryAgain, true); -- Insurance | 581 self:CancelTimer(self.tmrTryAgain, true); -- Insurance |
| 582 -- Try again every 0.5 seconds | 582 -- Try again every 0.5 seconds |
