From c7a1bfbefa26db51624cd837a97ef05789d835ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 19 Jun 2012 22:02:48 +0200 Subject: [PATCH] port own contrib widgets to lua52 --- contrib/ac.lua | 2 +- contrib/wpa.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/ac.lua b/contrib/ac.lua index 67b3a1e..f3911fa 100644 --- a/contrib/ac.lua +++ b/contrib/ac.lua @@ -14,7 +14,7 @@ local math = { } -- }}} -module("vicious.contrib.ac") +local ac = {} -- {{{ AC widget type local function worker(format, warg) diff --git a/contrib/wpa.lua b/contrib/wpa.lua index a6ec70f..3b6fa21 100644 --- a/contrib/wpa.lua +++ b/contrib/wpa.lua @@ -20,7 +20,7 @@ local string = { -- Wifi: provides wireless information for a requested interface -module("vicious.contrib.wpa") +local wpa = {} local info = { ["{ssid}"] = "N/A",