Permalink
Browse files

found scope error on reconnect

  • Loading branch information...
1 parent 7e40243 commit 74b8d759ebe4fcf9514fa3cca3e428d41a835c0c @impronunciable committed Jul 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tuiter.js
View
@@ -160,7 +160,7 @@ Tuiter.prototype.autoReconnect = function(req) {
stream.on('reconnect', function(new_args){
var params = new_args || req.tuiter.params;
params = preProcess(params);
- this.APIRequest(req.tuiter.endpoint, params, req.tuiter.callback);
+ self.APIRequest(req.tuiter.endpoint, params, req.tuiter.callback);
stream.emit('end');
});

0 comments on commit 74b8d75

Please sign in to comment.