From 54309cc25d4bf9e144342179d815e459c88d6153 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 28 Jan 2017 16:11:27 +0000 Subject: Do not clear the key table when changing session on a client, so that switch-client and friends work with bind -n. --- cmd-switch-client.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd-switch-client.c') diff --git a/cmd-switch-client.c b/cmd-switch-client.c index cd46db39..5cf4756f 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -108,7 +108,6 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) if (c->session != NULL && c->session != s) c->last_session = c->session; c->session = s; - server_client_set_key_table(c, NULL); status_timer_start(c); session_update_activity(s, NULL); gettimeofday(&s->last_attached_time, NULL); -- cgit v1.2.3