From cc73c2de2466bf15a9f3cb5f9d14fe676ec94642 Mon Sep 17 00:00:00 2001 From: deathcap Date: Sun, 7 Feb 2016 00:08:12 -0800 Subject: [PATCH] Remove unrelated change to client_echo --- examples/client_echo/client_echo.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/client_echo/client_echo.js b/examples/client_echo/client_echo.js index 3407073c..1f64b4a2 100644 --- a/examples/client_echo/client_echo.js +++ b/examples/client_echo/client_echo.js @@ -18,9 +18,6 @@ client.on('connect', function() { client.on('disconnect', function(packet) { console.log('disconnected: '+ packet.reason); }); -client.on('end', function(err) { - console.log('Connection lost'); -}); client.on('chat', function(packet) { var jsonMsg = JSON.parse(packet.message); if(jsonMsg.translate == 'chat.type.announcement' || jsonMsg.translate == 'chat.type.text') {