diff Options.lua @ 42:72055fc7e115

A lot of work to reign in namespacing (inspiration: WIM)
author John@Doomsday
date Thu, 15 Mar 2012 08:47:41 -0400
parents 21c58930f74e
children 4109683c3172
line wrap: on
line diff
--- a/Options.lua	Wed Mar 14 22:06:19 2012 -0400
+++ b/Options.lua	Thu Mar 15 08:47:41 2012 -0400
@@ -1,5 +1,5 @@
-
-bsk.options = {
+setfenv(1,bsk)
+options = {
     name= 'bsk',
     type = 'group',
     args = 
@@ -9,7 +9,7 @@
             type = "execute",
             name = "Version query",
             desc = "Check others' versions",
-            func = function(self) self:Print("TODO") end
+            func = function(self) bsk:Print("TODO") end
         }
     }
 }