From 8a7d463b87d709914762e32d388ac7af75bbe65b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 19 Feb 2013 21:11:32 +0000 Subject: [PATCH] Prevent lock on control clients, not on others. --- server-fn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-fn.c b/server-fn.c index c09f1b7e..26f93d95 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)