diff options
author | wjoe <joe@lc8n.com> | 2012-02-07 13:18:08 +0000 |
---|---|---|
committer | wjoe <joe@lc8n.com> | 2012-02-07 13:18:08 +0000 |
commit | f0cfd7938447d3d026a501c73959589f91092b46 (patch) | |
tree | 36cb6723b0b29eb5a730271a9c1de4bf8d295650 | |
parent | eeeb61277144da2de15c66a51552c1c1bcbd1a24 (diff) |
Historic commit 2.0.2 (06-Feb-2012 00:19)
-rw-r--r-- | blatweet.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blatweet.rb b/blatweet.rb index c08b6c0..32fb097 100644 --- a/blatweet.rb +++ b/blatweet.rb @@ -11,7 +11,7 @@ number_of_tweets = 1 message = nil limit = false debug = false -version = 'v2.0.1' +version = 'v2.0.2' help = false irc_nick = nil ops = nil @@ -100,7 +100,7 @@ begin puts remaining_hits == 0 ? "Limit reached. Limit resets in #{(60 + reset_time.min) - Time.now.min} minutes." : "Remaining hits this hour: #{remaining_hits}. #{remaining_hits/((60 + reset_time.min) - Time.now.min)} hits/minute." elsif message response = oauth_client(irc_nick, config).update message - puts response['error'] + puts response['error'] if response['error'] elsif username client.search("from:#{username}", :rpp => number_of_tweets)['results'].each_with_index{|tweet, index| output << "#{index+1}: #{tweet['text']}"} puts output.join ' ' |