Mercurial > wow > mailopener
diff Core.lua @ 11:fb952805d8b7
A FailSafe timer will now be stopped when another is started to prevent multiple running simultaneously and eventually warning you for nothing.
#Debug Removed debug messages for MAIL_INBOX_UPDATES, our own addon messages should do.
#Debug MO_OPENING_MAIL debug messages will now include the mail id.
| author | Zerotorescue |
|---|---|
| date | Thu, 09 Sep 2010 16:32:15 +0200 |
| parents | 1b2d819b4fa8 |
| children | d633bf82328b |
line wrap: on
line diff
--- a/Core.lua Thu Sep 09 10:53:19 2010 +0200 +++ b/Core.lua Thu Sep 09 16:32:15 2010 +0200 @@ -352,9 +352,9 @@ local tempLastAmount = lastAmount; lastAmount = currentMailWithAttachments; - if currentMailWithAttachments ~= tempLastAmount then - self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments); - end + --if currentMailWithAttachments ~= tempLastAmount then + -- self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments); + --end if currentMailWithAttachments > tempLastAmount then -- New messages arrived in our mailbox, so this was a refresh, so set a timer
