uptime: metatable bugfix after lua52 port fixed by Jorg Thalheim

This commit is contained in:
Adrian C. (anrxc) 2012-06-25 22:35:10 +02:00
parent 3b161ffa28
commit c28bac5d71
1 changed files with 1 additions and 1 deletions

View File

@ -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 })