From 8e6d827216de9d28f9904e573bf3d9b06736cc88 Mon Sep 17 00:00:00 2001 From: d3x0r Date: Wed, 21 Dec 2016 12:17:56 -0800 Subject: [PATCH] fix indentation --- lib/wsp/Peer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wsp/Peer.js b/lib/wsp/Peer.js index 223e21aa..743c74c1 100644 --- a/lib/wsp/Peer.js +++ b/lib/wsp/Peer.js @@ -83,7 +83,7 @@ function Peer (url, options) { this.setMaxListeners(Infinity); this.options = options || {}; - if( !('wsc' in this.options ) ) this.options.wsc = options.wsc || { protocols: null }; + if( !('wsc' in this.options ) ) this.options.wsc = options.wsc || { protocols: null }; else if( !('protocols' in this.options.wsc) ) this.options.wsc.protocols = null; // Messages sent before the socket is ready.