Prevent lock on control clients, not on others.

This commit is contained in:
Nicholas Marriott 2013-02-19 21:11:32 +00:00
parent c3859d1df1
commit 8a7d463b87

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)