Mercurial > wow > mailopener
diff Core.lua @ 60:4cd3b02f6840
Added a part for Mail Opener tips to the bottom of the general config. Also, the first time you start the config you will be prompted to enable continuous opening or not.
| author | Zerotorescue |
|---|---|
| date | Mon, 13 Sep 2010 23:58:48 +0200 |
| parents | 75c36b3d5443 |
| children | 4166a335ca81 |
line wrap: on
line diff
--- a/Core.lua Mon Sep 13 18:35:55 2010 +0200 +++ b/Core.lua Mon Sep 13 23:58:48 2010 +0200 @@ -16,6 +16,9 @@ -- SAVED VARIABLES local defaults = { + global = { + currentTip = -1, -- even though LUA table indexes start at one, Config's OnEnable will increase this value by one the first time you run it and another 1 to adjust for the % modifier, so we still actually start at the table index 1 + }, profile = { uses = 0, general = { @@ -714,7 +717,7 @@ -- Toggle Postal's opening modules on or off function MailOpener:TogglePostalModule(name, status) - if MailOpener.PostalEnabled and Postal then + if self.PostalEnabled and Postal then -- Postal must be enabled -- Toggle module (let Postal handle this)
