do not match docks in config and command criteria (#2340)

This commit is contained in:
johannes karoff
2016-09-26 18:45:58 +02:00
committed by Michael Stapelberg
parent 655ed0ba27
commit 1437271e65
5 changed files with 75 additions and 3 deletions

View File

@ -48,6 +48,7 @@ static int json_start_map(void *ctx) {
LOG("creating new swallow\n");
current_swallow = smalloc(sizeof(Match));
match_init(current_swallow);
current_swallow->dock = M_DONTCHECK;
TAILQ_INSERT_TAIL(&(json_node->swallow_head), current_swallow, matches);
swallow_is_empty = true;
} else {