Skip to content
This repository
Browse code

Merge pull request #34 from AnaelFavre/master

Fixed bug using BinaryJS between two servers. Thanks @AnaelFavre
  • Loading branch information...
commit ebaa89f2c0e890e24d1654f71c9cfc297d630535 2 parents 714d054 + 282f356
Eric Zhang authored February 19, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/client.js
2  lib/client.js
@@ -10,7 +10,7 @@ var BinaryStream = require('./stream').BinaryStream;
10 10
 // end node
11 11
 
12 12
 function BinaryClient(socket, options) {
13  
-  if (!(this instanceof BinaryClient)) return new BinaryClient(options);
  13
+  if (!(this instanceof BinaryClient)) return new BinaryClient(socket, options);
14 14
   
15 15
   EventEmitter.call(this);
16 16
   

0 notes on commit ebaa89f

Please sign in to comment.
Something went wrong with that request. Please try again.