mistake fix: "b" local variable declaration is missing
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
55cbbac45b
commit
c33aa4a512
|
@ -20,6 +20,7 @@ function new(args)
|
||||||
local w = wbutton(args)
|
local w = wbutton(args)
|
||||||
if not w then return end
|
if not w then return end
|
||||||
|
|
||||||
|
local b
|
||||||
if args.command then
|
if args.command then
|
||||||
b = util.table.join(w:buttons(), button({}, 1, nil, function () util.spawn(args.command) end))
|
b = util.table.join(w:buttons(), button({}, 1, nil, function () util.spawn(args.command) end))
|
||||||
elseif args.menu then
|
elseif args.menu then
|
||||||
|
|
Loading…
Reference in New Issue