fixed prepareStats bug

This commit is contained in:
cubedro 2015-06-02 00:00:04 +03:00
parent c74b72b6eb
commit 1447a21c8c
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}