mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-12 08:58:12 +01:00
Prevent lock on control clients, not on others.
This commit is contained in:
parent
c3859d1df1
commit
8a7d463b87
@ -239,7 +239,7 @@ server_lock_client(struct client *c)
|
|||||||
size_t cmdlen;
|
size_t cmdlen;
|
||||||
struct msg_lock_data lockdata;
|
struct msg_lock_data lockdata;
|
||||||
|
|
||||||
if (!(c->flags & CLIENT_CONTROL))
|
if (c->flags & CLIENT_CONTROL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (c->flags & CLIENT_SUSPENDED)
|
if (c->flags & CLIENT_SUSPENDED)
|
||||||
|
Loading…
Reference in New Issue
Block a user