Do not clear the key table when changing session on a client, so that

switch-client and friends work with bind -n.
This commit is contained in:
nicm
2017-01-28 16:11:27 +00:00
parent 776ce8a9d5
commit 54309cc25d
3 changed files with 0 additions and 3 deletions

View File

@ -277,7 +277,6 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
} else if (c->session != NULL)
c->last_session = c->session;
c->session = s;
server_client_set_key_table(c, NULL);
status_timer_start(c);
notify_client("client-session-changed", c);
session_update_activity(s, NULL);