Permalink
Browse files

swap cull refs around

  • Loading branch information...
1 parent 8608640 commit 62847734456d3d33e19670b41602748228827594 @substack committed Jun 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -37,7 +37,7 @@ Proto.prototype.start = function () {
};
Proto.prototype.cull = function (id) {
- delete this.callbacks.local[id];
+ delete this.callbacks.remote[id];
this.emit('request', {
method : 'cull',
arguments : [ id ]
@@ -78,7 +78,7 @@ Proto.prototype.handle = function (req) {
}
else if (req.method === 'cull') {
forEach(args, function (id) {
- delete self.callbacks.remote[id];
+ delete self.callbacks.local[id];
});
}
else if (typeof req.method === 'string') {

0 comments on commit 6284773

Please sign in to comment.