diff options
Diffstat (limited to 'contrib/pop.lua')
-rw-r--r-- | contrib/pop.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/pop.lua b/contrib/pop.lua index 78e0bcb..0ea041b 100644 --- a/contrib/pop.lua +++ b/contrib/pop.lua @@ -19,7 +19,8 @@ end) -- POP: provides the count of new messages in a POP3 mailbox -module("vicious.contrib.pop") +-- vicious.contrib.pop +local pop = {} -- {{{ POP3 count widget type @@ -51,4 +52,4 @@ local function worker(format, warg) end -- }}} -setmetatable(_M, { __call = function(_, ...) return worker(...) end }) +return setmetatable(pop, { __call = function(_, ...) return worker(...) end }) |