fixed typo

This commit is contained in:
copycat-killer 2017-01-24 18:23:11 +01:00
parent d9877c4bed
commit 1134630a54
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ local function worker(args)
mpd.timer = helpers.newtimer("mpd", timeout, mpd.update, true, true)
return setmetatable(mpd, { __index = imap.widget })
return setmetatable(mpd, { __index = mpd.widget })
end
return setmetatable(mpd, { __call = function(_, ...) return worker(...) end })