Cheap conversition to Lua 5.2. Fixes Issue #1

This commit is contained in:
Alfredo Palhares 2013-02-27 16:38:30 +00:00
parent 66967c0fb2
commit 7ab9320d03
1 changed files with 2 additions and 2 deletions

View File

@ -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})
return setmetatable(module, { __call = function(_, ...) return end , __index = getter, __newindex = setter})