diff options
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index d8f0343..c9a58ff 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -318,7 +318,7 @@ thing = function (module, names, help, default, types, widget, required, acl, bo | |||
318 | 318 | ||
319 | -- Set it all up. | 319 | -- Set it all up. |
320 | -- TODO - might want to merge into pre existing Thing instead of over writing like this. | 320 | -- TODO - might want to merge into pre existing Thing instead of over writing like this. |
321 | local thing = {module = module, names = n, help = help, default = default, types = t, widget = widget, required = required, acl = acl, boss = boss, } | 321 | local thing = {module = module, names = n, help = help, default = default, types = t, widget = widget, required = isBoolean(required), acl = acl, boss = boss, } |
322 | setmetatable(thing, Thing) | 322 | setmetatable(thing, Thing) |
323 | -- Stash the Thing under all of it's names. | 323 | -- Stash the Thing under all of it's names. |
324 | for i, v in ipairs(thing.names) do | 324 | for i, v in ipairs(thing.names) do |