diff options
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index a0f7f447..9ddfba9c 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -164,7 +164,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx) if (args_has(self->args, 'g')) oo = &global_s_options; else { - s = cmd_find_session(ctx, args_get(args, 't')); + s = cmd_find_session(ctx, args_get(args, 't'), 0); if (s == NULL) return (-1); oo = &s->options; |