added id to ping
This commit is contained in:
parent
817d15a2cc
commit
447afd00d5
@ -364,7 +364,7 @@ Node.prototype.update = function()
|
|||||||
|
|
||||||
Node.prototype.ping = function()
|
Node.prototype.ping = function()
|
||||||
{
|
{
|
||||||
this.emit('node-ping', '');
|
this.emit('node-ping', { id: this.id });
|
||||||
};
|
};
|
||||||
|
|
||||||
Node.prototype.setWatches = function()
|
Node.prototype.setWatches = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user