Naughty: Add a missing "local"
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
87d869fdeb
commit
825efd21b3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue