From: Alexander Yakushev Date: Sat, 21 Jan 2012 14:42:10 +0000 (+0200) Subject: Minor fix in variable name clashing X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a488a4f81eaa273d79d228b398dcfee153577e52;p=awesompd.git Minor fix in variable name clashing --- 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