Add unbind handling for mkt - issue #2415

This commit is contained in:
Oliver Blanthorn 2020-05-27 11:00:54 +01:00
parent 1d42219e3e
commit bf91666c5f
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -1630,6 +1630,11 @@ const parseConfigHelper = (pconf, parseobj, prefix= []) => {
cmd += ` --mode=${mode}`
}
if (pconf[i][e] === null) {
parseobj.binds.push(`un${cmd} ${e}`)
continue
}
if (pconf[i][e].length > 0) {
parseobj.binds.push(`${cmd} ${e} ${pconf[i][e]}`)
} else {