diff options
Diffstat (limited to 'widgets/mboxc.lua')
-rw-r--r-- | widgets/mboxc.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/mboxc.lua b/widgets/mboxc.lua index c928cd3..3226917 100644 --- a/widgets/mboxc.lua +++ b/widgets/mboxc.lua @@ -11,7 +11,8 @@ local string = { find = string.find } -- Mboxc: provides the count of total, old and new messages in mbox files -module("vicious.widgets.mboxc") +-- vicious.widgets.mboxc +local mboxc = {} -- {{{ Mbox count widget type @@ -54,4 +55,4 @@ local function worker(format, warg) end -- }}} -setmetatable(_M, { __call = function(_, ...) return worker(...) end }) +return setmetatable(mbox, { __call = function(_, ...) return worker(...) end }) |