Mercurial > wow > mailopener
diff Modules/FailSafe.lua @ 6:f10c8a083d2a
The ALPHA help request popup should pop when the addon is enabled for every 15th time. I really would like some data to.
The timer to start opening mail when you open the mailbox will now use the initial mail opening delay.
| author | Zerotorescue |
|---|---|
| date | Wed, 08 Sep 2010 00:48:37 +0200 |
| parents | 1ba07a64bf14 |
| children | fb952805d8b7 |
line wrap: on
line diff
--- a/Modules/FailSafe.lua Tue Sep 07 20:57:49 2010 +0200 +++ b/Modules/FailSafe.lua Wed Sep 08 00:48:37 2010 +0200 @@ -50,7 +50,7 @@ self:UnregisterMessage("MO_OPENING_MAIL"); self:UnregisterMessage("MO_OPENING_MAIL_FINISHED"); - self:CancelTimer(self.tmrTimeout); + self:CancelTimer(self.tmrTimeout, true); end function FailSafe:MO_OPENING_MAIL() @@ -62,7 +62,7 @@ function FailSafe:MO_MAIL_EMPTIED() -- Single mail has been opened - self:CancelTimer(self.tmrTimeout); + self:CancelTimer(self.tmrTimeout, true); end function FailSafe:Continue()
