uptime: metatable bugfix after lua52 port fixed by Jorg Thalheim
This commit is contained in:
parent
3b161ffa28
commit
c28bac5d71
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue