From 7ab9320d03bdd678bae17dfb7e198ab332d85800 Mon Sep 17 00:00:00 2001 From: Alfredo Palhares Date: Wed, 27 Feb 2013 16:38:30 +0000 Subject: [PATCH] Cheap conversition to Lua 5.2. Fixes Issue #1 --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9314fda..8bf98ae 100644 --- a/init.lua +++ b/init.lua @@ -7,7 +7,7 @@ local awful = require("awful") local capi = {client = client , tag = tag , screen = screen , mouse = mouse } -module("tyranic") +local module = {} -------------------------------INIT------------------------------ @@ -179,4 +179,4 @@ local function setter (table, key,value) end end -setmetatable(_M, { __call = function(_, ...) return end , __index = getter, __newindex = setter}) \ No newline at end of file +return setmetatable(module, { __call = function(_, ...) return end , __index = getter, __newindex = setter})