From 825efd21b3517c12c94da84ca1e7b8cbd9ed6151 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 18 Sep 2010 16:34:31 +0200 Subject: [PATCH] Naughty: Add a missing "local" Signed-off-by: Uli Schlachter --- lib/naughty.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index c378c2a4..5d2b6373 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -298,7 +298,7 @@ function notify(args) -- replace notification if needed if args.replaces_id then - obj = getById(args.replaces_id) + local obj = getById(args.replaces_id) if obj then -- destroy this and ... destroy(obj)