diff options
Diffstat (limited to 'contrib/net.lua')
-rw-r--r-- | contrib/net.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/net.lua b/contrib/net.lua index 8f18604..5e6ba93 100644 --- a/contrib/net.lua +++ b/contrib/net.lua @@ -17,7 +17,8 @@ local helpers = require("vicious.helpers") -- Net: provides usage statistics for all network interfaces -module("vicious.contrib.net") +-- vicious.contrib.net +local net = {} -- Initialise function tables @@ -135,4 +136,4 @@ local function worker(format, tignorelist) end -- }}} -setmetatable(_M, { __call = function(_, ...) return worker(...) end }) +return setmetatable(net, { __call = function(_, ...) return worker(...) end }) |