From 1447a21c8c3079a071dbe1e697c8401ecab00fa7 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 2 Jun 2015 00:00:04 +0300 Subject: [PATCH] fixed prepareStats bug --- lib/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.js b/lib/node.js index c207461..337f497 100644 --- a/lib/node.js +++ b/lib/node.js @@ -610,7 +610,7 @@ Node.prototype.sendStatsUpdate = function (force) { if( this.changed() || force ) { console.info("wsc", "Sending", chalk.reset.blue((force ? "forced" : "changed")), chalk.bold.white("update")); - this.emit('stats', this.prepareBasic()); + this.emit('stats', this.prepareStats()); } }