aboutsummaryrefslogtreecommitdiff
path: root/contrib/rss.lua
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/rss.lua')
-rw-r--r--contrib/rss.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/rss.lua b/contrib/rss.lua
index bba1bf2..dcf5cc7 100644
--- a/contrib/rss.lua
+++ b/contrib/rss.lua
@@ -14,7 +14,8 @@ local setmetatable = setmetatable
-- RSS: provides latest world news
-module("vicious.contrib.rss")
+-- vicious.contrib.rss
+local rss = {}
-- {{{ RSS widget type
@@ -64,4 +65,4 @@ local function worker(format, input)
end
-- }}}
-setmetatable(_M, { __call = function(_, ...) return worker(...) end })
+return setmetatable(rss, { __call = function(_, ...) return worker(...) end })