aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2012-01-21 16:42:10 +0200
committerAlexander Yakushev <yakushev.alex@gmail.com>2012-01-21 16:42:10 +0200
commita488a4f81eaa273d79d228b398dcfee153577e52 (patch)
treead748e63277d018af0d81b4885ba2ededd35e0ab
parent7397667ee90fac7b41affa0177ebf681f333688e (diff)
downloadawesompd-a488a4f81eaa273d79d228b398dcfee153577e52.tar.gz
awesompd-a488a4f81eaa273d79d228b398dcfee153577e52.tar.bz2
Minor fix in variable name clashing
-rw-r--r--awesompd.lua2
1 files changed, 1 insertions, 1 deletions
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