From a488a4f81eaa273d79d228b398dcfee153577e52 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Sat, 21 Jan 2012 16:42:10 +0200 Subject: Minor fix in variable name clashing --- awesompd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesompd.lua b/awesompd.lua index 5d7f6ac..ac81e72 100644 --- a/awesompd.lua +++ b/awesompd.lua @@ -177,7 +177,7 @@ end -- Function that returns a new awesompd object. function awesompd:create() -- Initialization - instance = {} + local instance = {} setmetatable(instance,self) self.__index = self instance.current_server = 1 -- cgit v1.2.3