Naughty: Add a missing "local"

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-09-18 16:34:31 +02:00
parent 87d869fdeb
commit 825efd21b3
1 changed files with 1 additions and 1 deletions

View File

@ -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)