summaryrefslogtreecommitdiffstats
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-28 16:11:27 +0000
committernicm <nicm>2017-01-28 16:11:27 +0000
commit54309cc25d4bf9e144342179d815e459c88d6153 (patch)
tree2265d316bc92632d1298a765f5f2bd8ac5d7e029 /cmd-switch-client.c
parent776ce8a9d5a30bd4a8aab59c5152e78774bb805c (diff)
Do not clear the key table when changing session on a client, so that
switch-client and friends work with bind -n.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c1
1 files changed, 0 insertions, 1 deletions
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);