added id to ping
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user