diff --git a/lib/wsp/Peer.js b/lib/wsp/Peer.js index e64bd63c..11f1069c 100644 --- a/lib/wsp/Peer.js +++ b/lib/wsp/Peer.js @@ -83,8 +83,6 @@ function Peer (url, options) { this.setMaxListeners(Infinity); this.options = options || {}; - if( !('wsc' in this.options ) ) this.options.wsc = { protocols: null }; - else if( !('protocols' in this.options.wsc) ) this.options.wsc.protocols = null; // Messages sent before the socket is ready. this.deferredMsgs = [];