summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index b991544b..e55f9e73 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -580,6 +580,7 @@ static int run_command(struct command_context *context,
struct command_invocation cmd = {
.ctx = context,
+ .current = c,
.name = c->name,
.argc = num_words - 1,
.argv = words + 1,