From c28bac5d71a2f315e309f41822abb33c3f38db17 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Mon, 25 Jun 2012 22:35:10 +0200 Subject: [PATCH] uptime: metatable bugfix after lua52 port fixed by Jorg Thalheim --- widgets/uptime.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })