naughty: localize obj

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2010-09-19 20:01:17 +02:00 committed by Julien Danjou
parent 268fe91434
commit e6b99ae374
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ function notify(args)
-- replace notification if needed -- replace notification if needed
if args.replaces_id then if args.replaces_id then
obj = getById(args.replaces_id) local obj = getById(args.replaces_id)
if obj then if obj then
-- destroy this and ... -- destroy this and ...
destroy(obj) destroy(obj)