aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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