aboutsummaryrefslogtreecommitdiff
path: root/wifi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'wifi.lua')
-rw-r--r--wifi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/wifi.lua b/wifi.lua
index 0e284c8..11d9b84 100644
--- a/wifi.lua
+++ b/wifi.lua
@@ -18,7 +18,7 @@ module("vicious.wifi")
-- {{{ Wireless widget type
-function worker(format, iface)
+local function worker(format, iface)
-- Get data from iwconfig, on distributions where it is executable
-- by users, and /sbin or /usr/sbin is in their path
local f = io.popen("iwconfig " .. iface)