aboutsummaryrefslogtreecommitdiff
path: root/cmd-source-file.c
diff options
context:
space:
mode:
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;