tty_client_ready can not be internal to tty.c again.

This commit is contained in:
nicm
2016-04-30 18:59:02 +00:00
parent 0c7895076e
commit 88bd5b15ff
3 changed files with 4 additions and 6 deletions

View File

@ -854,10 +854,7 @@ server_client_reset_state(struct client *c)
struct options *oo = c->session->options;
int status, mode, o;
if (c->flags & CLIENT_SUSPENDED)
return;
if (c->flags & CLIENT_CONTROL)
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))
return;
tty_region(&c->tty, 0, c->tty.sy - 1);