aboutsummaryrefslogtreecommitdiff
path: root/contrib/netcfg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netcfg.lua')
-rw-r--r--contrib/netcfg.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/netcfg.lua b/contrib/netcfg.lua
index fc22e8d..f2c0d52 100644
--- a/contrib/netcfg.lua
+++ b/contrib/netcfg.lua
@@ -11,7 +11,8 @@ local table = { insert = table.insert }
-- Netcfg: provides active netcfg network profiles
-module("vicious.contrib.netcfg")
+-- vicious.contrib.netcfg
+local netcfg = {}
-- {{{ Netcfg widget type
@@ -31,4 +32,4 @@ local function worker(format)
end
-- }}}
-setmetatable(_M, { __call = function(_, ...) return worker(...) end })
+return setmetatable(netcfg, { __call = function(_, ...) return worker(...) end })