diff --git a/cmd-rename-session.c b/cmd-rename-session.c index 5dbc38d9..8385434a 100644 --- a/cmd-rename-session.c +++ b/cmd-rename-session.c @@ -47,7 +47,7 @@ static enum cmd_retval cmd_rename_session_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = self->args; - struct client *c = cmd_find_client(item, NULL, 0); + struct client *c = cmd_find_client(item, NULL, 1); struct session *s = item->target.s; char *newname;