aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-25 22:35:10 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-25 22:35:10 +0200
commitc28bac5d71a2f315e309f41822abb33c3f38db17 (patch)
tree2e8d60046ca0a421e7b4643a103e8b3faf6a24a6 /widgets
parent3b161ffa28e50d6674e081a2ee28c76b05d8b014 (diff)
downloadvicious-legacy-c28bac5d71a2f315e309f41822abb33c3f38db17.tar.xz
uptime: metatable bugfix after lua52 port fixed by Jorg Thalheim
Diffstat (limited to 'widgets')
-rw-r--r--widgets/uptime.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/uptime.lua b/widgets/uptime.lua
index 14de99a..0e996ac 100644
--- a/widgets/uptime.lua
+++ b/widgets/uptime.lua
@@ -33,4 +33,4 @@ local function worker(format)
end
-- }}}
-local setmetatable(uptime, { __call = function(_, ...) return worker(...) end })
+return setmetatable(uptime, { __call = function(_, ...) return worker(...) end })