X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d9877c4bedca550478507f268f43e137e4454c24..434d5f32aa3a19763bf6bb2eed40f881fd918309:/widgets/net.lua?ds=sidebyside 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 })