mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-24 15:48:58 +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;
|
||||
struct msg_lock_data lockdata;
|
||||
|
||||
if (!(c->flags & CLIENT_CONTROL))
|
||||
if (c->flags & CLIENT_CONTROL)
|
||||
return;
|
||||
|
||||
if (c->flags & CLIENT_SUSPENDED)
|
||||
|
Loading…
Reference in New Issue
Block a user