Skip to content

Commit

Permalink
Fix for other than filter action
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Jul 3, 2010
2 parents 5579423 + c98ab96 commit 83878cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions clean.sh
@@ -0,0 +1,4 @@
rm lib/twitter-node/base64.node
rm vendor/node-base64/.lock-wscript
rm -Rf vendor/node-base64/build

2 changes: 1 addition & 1 deletion lib/twitter-node/index.js
Expand Up @@ -106,7 +106,7 @@ TwitterNode.prototype.stream = function stream() {
this._clientResponse.socket.end();
}

if (this.buildParams() === '') return;
if (this.action === 'filter' && this.buildParams() === '') return;

var client = this._createClient(this.port, this.host),
headers = extend({}, this.headers),
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "twitter-node",
"description": "node.js stream API for the twitter streaming HTTP API",
"version": "0.0.1",
"version": "0.0.2",
"author": "technoweenie",
"repository": {
"type": "git",
Expand Down

0 comments on commit 83878cd

Please sign in to comment.