Skip to content

Commit

Permalink
fix(DispositionFrame): use correct channel for disposition frame
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Jun 24, 2015
1 parent 0f5963a commit 70f9b4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/frames/disposition_frame.js
Expand Up @@ -89,8 +89,7 @@ var debug = require('debug')('amqp10:framing:disposition'),
* @constructor
*/
function DispositionFrame(options) {
DispositionFrame.super_.call(this);
this.channel = 0;
DispositionFrame.super_.call(this, options.channel);
if (options instanceof DescribedType) {
this.readPerformative(options);
return;
Expand Down

0 comments on commit 70f9b4c

Please sign in to comment.