added id to ping

This commit is contained in:
cubedro 2015-04-03 06:08:54 +03:00
parent 817d15a2cc
commit 447afd00d5

View File

@ -364,7 +364,7 @@ Node.prototype.update = function()
Node.prototype.ping = function()
{
this.emit('node-ping', '');
this.emit('node-ping', { id: this.id });
};
Node.prototype.setWatches = function()