Do not execute commands for a client until it has identified, fixes

problem reported by Frank Terbeck.
This commit is contained in:
nicm 2016-11-12 19:04:41 +00:00
parent 36f8fa316d
commit b7398a4918

View File

@ -194,8 +194,10 @@ server_loop(void)
do {
items = cmdq_next(NULL);
TAILQ_FOREACH(c, &clients, entry)
items += cmdq_next(c);
TAILQ_FOREACH(c, &clients, entry) {
if (c->flags & CLIENT_IDENTIFIED)
items += cmdq_next(c);
}
} while (items != 0);
server_client_loop();