Prevent lock on control clients, not on others.

This commit is contained in:
Nicholas Marriott 2013-03-22 10:42:55 +00:00
parent 8c545bbfa8
commit 29613f2f31

View File

@ -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)