Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #564 from mrFranklin/master
Browse files Browse the repository at this point in the history
update pomelo
  • Loading branch information
py8765 committed Jul 17, 2014
2 parents ed864b5 + cab021c commit 2cde704
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/connectors/commands/handshake.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Command.prototype.handle = function(socket, msg) {
if(!msg.sys.protoVersion || msg.sys.protoVersion < protoVersion){
opts.protos = pomelo.app.components.__protobuf__.getProtos();
}
opts.useProto = true;
}

if(!!pomelo.app.components.__decodeIO__protobuf__) {
Expand All @@ -62,6 +63,7 @@ Command.prototype.handle = function(socket, msg) {
if(!msg.sys.protoVersion || msg.sys.protoVersion < version) {
opts.protos = pomelo.app.components.__decodeIO__protobuf__.getProtos();
}
opts.useProto = true;
}

if(this.useCrypto) {
Expand Down

0 comments on commit 2cde704

Please sign in to comment.