From 0d84fdd95303a6ed4dcd761425e35f3731b86725 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 29 Apr 2016 14:05:24 +0000 Subject: Final parts of command hooks, add before- and after- hooks to each command. --- cmd-source-file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd-source-file.c') diff --git a/cmd-source-file.c b/cmd-source-file.c index 9d2d6d68..d5f5209a 100644 --- a/cmd-source-file.c +++ b/cmd-source-file.c @@ -49,6 +49,7 @@ cmd_source_file_exec(struct cmd *self, struct cmd_q *cmdq) char *cause; cmdq1 = cmdq_new(cmdq->client); + cmdq1->flags |= cmdq->flags & CMD_Q_NOHOOKS; cmdq1->emptyfn = cmd_source_file_done; cmdq1->data = cmdq; -- cgit