aboutsummaryrefslogtreecommitdiff
path: root/helpers.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-25 00:15:51 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-25 00:15:51 +0200
commit1a7b43068c4cfbb7baa3f781fb7d65a708f63a5c (patch)
treef10e596a7e4e4fb63fa894349683e2759a7bdd26 /helpers.lua
parent4caf95bfd031640010d968e05756399ec3715ea3 (diff)
downloadvicious-legacy-1a7b43068c4cfbb7baa3f781fb7d65a708f63a5c.tar.xz
contrib: initialization bugfix after lua52 port
The _NAME field was missing in the contrib table. Thanks to Jorg Thalheim for reporting this.
Diffstat (limited to 'helpers.lua')
-rw-r--r--helpers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers.lua b/helpers.lua
index 93a701b..4c15690 100644
--- a/helpers.lua
+++ b/helpers.lua
@@ -33,8 +33,8 @@ local scroller = {}
-- {{{ Helper functions
-- {{{ Loader of vicious modules
-function helpers.wrequire(table, key)
- local module = rawget(table, key)
+function helpers.wrequire(table, key)
+ local module = rawget(table, key)
return module or require(table._NAME .. "." .. key)
end
-- }}}