Skip to content

Commit

Permalink
Merge pull request #283 from shanksauce/oopsie-daisy
Browse files Browse the repository at this point in the history
Update callback_model.js
  • Loading branch information
squaremo authored Sep 28, 2016
2 parents 17b58ce + 5ea7078 commit b8132b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/callback_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Channel.prototype.get = function(queue, options, cb0) {
if (f.id === defs.BasicGetEmpty) {
cb(null, false);
}
else if (f.id = defs.BasicGetOk) {
else if (f.id === defs.BasicGetOk) {
self.handleMessage = acceptMessage(function(m) {
m.fields = f.fields;
cb(null, m);
Expand Down

0 comments on commit b8132b2

Please sign in to comment.