summaryrefslogtreecommitdiffstats
path: root/cmd-source-file.c
diff options
context:
space:
mode:
authornicm <nicm>2016-04-29 14:05:24 +0000
committernicm <nicm>2016-04-29 14:05:24 +0000
commit0d84fdd95303a6ed4dcd761425e35f3731b86725 (patch)
tree3c1c65d16677c6b7aa579c8bf6500331ec08db47 /cmd-source-file.c
parentc5443da2d3bd5ef2464cc59941e55890aaff3fb0 (diff)
Final parts of command hooks, add before- and after- hooks to each command.
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r--cmd-source-file.c1
1 files changed, 1 insertions, 0 deletions
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;