X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d9877c4bedca550478507f268f43e137e4454c24..752ba7fa3d8928dfc19c59dbf3c6d167c4ae3bc9:/widgets/net.lua diff --git a/widgets/net.lua b/widgets/net.lua index 0b19f0b..302559a 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -119,7 +119,7 @@ local function worker(args) helpers.newtimer("network", timeout, update) - return setmetatable(net, { __index = net.widget }) + return net end return setmetatable({}, { __call = function(_, ...) return worker(...) end })