Fix trigger to block properly until reset

Fix to Close #764
This commit is contained in:
Dave Conway-Jones 2015-12-09 16:42:16 +00:00
parent 606305aec4
commit d4ce193dc8
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ module.exports = function(RED) {
node.status({});
}
else {
if (!tout) {
if ((!tout) && (tout !== 0)) {
if (node.op2type === "pay") { m2 = msg.payload; }
else if (node.op2Templated) { m2 = mustache.render(node.op2,msg); }
else { m2 = node.op2; }