mistake fix: "b" local variable declaration is missing

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
TsT 2012-03-06 00:03:09 +01:00 committed by Uli Schlachter
parent 55cbbac45b
commit c33aa4a512
1 changed files with 1 additions and 0 deletions

View File

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