diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 10:42:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 10:42:55 +0000 |
commit | 29613f2f31117ed898455fdf75dd7b69d18129f3 (patch) | |
tree | 827a5cf8edf2b8ee2a9296b5ff655dca1f6b3806 /server-fn.c | |
parent | 8c545bbfa8a9fd984437a61c3f0556822ad6ad92 (diff) |
Prevent lock on control clients, not on others.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-fn.c b/server-fn.c index fe5ed431..6d66a9f0 100644 --- a/server-fn.c +++ b/server-fn.c @@ -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) |