From 896b52ed9ec18880af22380f4e69fd80dbf7c081 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sun, 13 Apr 2014 22:32:33 +0100 Subject: [PATCH] Fix node tests --- red/nodes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/red/nodes.js b/red/nodes.js index cb62dcc99..65cc91fdc 100644 --- a/red/nodes.js +++ b/red/nodes.js @@ -150,12 +150,12 @@ Node.prototype.send = function(msg) { var m = clone(mm); if (req) { m.req = req; + mm.req = req; } if (res) { m.res = res; + mm.res = res; } - mm.req = req; - mm.res = res; node.receive(m); } }