Skip to content

Commit

Permalink
Fix emit() callback never called: #524
Browse files Browse the repository at this point in the history
  • Loading branch information
khamaileon committed Oct 18, 2013
1 parent 98c1bc8 commit 6b7d2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/namespace.js
Expand Up @@ -184,7 +184,7 @@

case 'ack':
if (this.acks[packet.ackId]) {
this.acks[packet.ackId].apply(this, packet.args);
this.acks[packet.ackId](packet.args);
delete this.acks[packet.ackId];
}
break;
Expand Down

0 comments on commit 6b7d2d3

Please sign in to comment.