From 41cb2e250244a223d560e6367cd6a7590ec52786 Mon Sep 17 00:00:00 2001 From: mscdex Date: Thu, 4 Jul 2013 12:13:34 -0400 Subject: [PATCH] Connection: add missing message 'ended' assignment --- lib/Connection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Connection.js b/lib/Connection.js index 31c0973..2aa7e15 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -1120,6 +1120,7 @@ Connection.prototype._resUntagged = function(info) { if (toget.length === 0) { process.nextTick(function() { + msg.ended = true; msgEmitter.emit('attributes', attrs); msgEmitter.emit('end'); });