hooks: xau: fix argv (ap, not wark)

This commit is contained in:
ed 2026-07-21 18:40:47 +00:00
parent b2e4b1c46c
commit bae77b9078

View file

@ -4207,7 +4207,7 @@ def _runhook(
return mod.main(ja)
arg = json.dumps(ja)
else:
arg = txt[0] if txt else ap
arg = txt[0] if txt and src in ("xm", "xban") else ap
if acmd[0].startswith("zmq:"):
zi, zs = _zmq_hook(log, verbose, src, acmd[0][4:].lower(), arg, wait, sp_ka)