Skip to content

Commit

Permalink
this->self
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Feb 27, 2010
1 parent 18c2de9 commit 023b9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amqp.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ function Connection (options) {

self.addListener('connect', function () {
// channel 0 is the control channel.
self.channels = [this];
self.channels = [self];
self.queues = {};
self.exchanges = {};

Expand Down

0 comments on commit 023b9d3

Please sign in to comment.