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

@ -480,7 +480,7 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
if (match->restart_mode)
continue;
y(map_open);
if (match->dock != -1) {
if (match->dock != M_DONTCHECK) {
ystr("dock");
y(integer, match->dock);
ystr("insert_where");