server command line: log peer_id for web peers

This commit is contained in:
Feross Aboukhadijeh 2015-05-27 12:58:50 +02:00
parent 31db779337
commit 749cee1465

View File

@ -340,7 +340,7 @@ Server.prototype._onWebSocketRequest = function (socket, params) {
}
if (params.action === common.ACTIONS.ANNOUNCE) {
self.emit(common.EVENT_NAMES[params.event], params.addr)
self.emit(common.EVENT_NAMES[params.event], params.peer_id)
}
})
}