Mercurial > wow > breuesk
diff Options.lua @ 43:4109683c3172
Kept AceConsole embedded - it handily disables the chat commands when the addon is disabled
Did a little passthrough to properly set the self param for commands like Print()
author | John@Yosemite-PC |
---|---|
date | Thu, 15 Mar 2012 22:27:51 -0400 |
parents | 72055fc7e115 |
children |
line wrap: on
line diff
--- a/Options.lua Thu Mar 15 08:47:41 2012 -0400 +++ b/Options.lua Thu Mar 15 22:27:51 2012 -0400 @@ -1,3 +1,5 @@ +--local bsk = bsk +--local _G=_G setfenv(1,bsk) options = { name= 'bsk', @@ -9,7 +11,7 @@ type = "execute", name = "Version query", desc = "Check others' versions", - func = function(self) bsk:Print("TODO") end - } + func = function(self) print("TODO") end + } } }