From 447afd00d5161e802fe762516eb1fa88fb4f2566 Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 3 Apr 2015 06:08:54 +0300 Subject: [PATCH] added id to ping --- lib/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.js b/lib/node.js index 5bb5d41..ddeb5a7 100644 --- a/lib/node.js +++ b/lib/node.js @@ -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()