From 277e4929c41e3deab99dc78ceb6cf912e6585410 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Sat, 15 Aug 2015 23:22:37 +0100 Subject: [PATCH] small speed fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ebd794bde..639d8a17c 100644 --- a/index.js +++ b/index.js @@ -228,7 +228,6 @@ exports.Client.prototype.connectWebsocket = function( cb ) { console.log("Took "+ (Date.now() - time) +" ms to prepare!"); } } ); - console.log("-", x, Date.now() - time) } } else if ( dat.t === "MESSAGE_CREATE" ) { @@ -369,6 +368,7 @@ exports.Client.prototype.connectWebsocket = function( cb ) { connDat.d.properties = Internal.WebSocket.properties; this.sendPacket( connDat ); + time = Date.now(); } } }