From ecf056264e744eaebd6469930fbc32d07bc60aa0 Mon Sep 17 00:00:00 2001 From: Dan Boger Date: Thu, 21 May 2009 14:14:10 -0700 Subject: [PATCH 1/1] r643 - v2.3.3 - don't link retweets to their original tweet, because twitter is being stupid. Also, don't spam 'haven't been able to get updates' after the first 10 minutes. --- twirssi.pl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/twirssi.pl b/twirssi.pl index 4ba6417..8d478f4 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -10,8 +10,8 @@ $Data::Dumper::Indent = 1; use vars qw($VERSION %IRSSI); -$VERSION = "2.2.3beta"; -my ($REV) = '$Rev: 636 $' =~ /(\d+)/; +$VERSION = "2.2.3"; +my ($REV) = '$Rev: 643 $' =~ /(\d+)/; %IRSSI = ( authors => 'Dan Boger', contact => 'zigdon@gmail.com', @@ -20,7 +20,7 @@ my ($REV) = '$Rev: 636 $' =~ /(\d+)/; . 'Can optionally set your bitlbee /away message to same', license => 'GNU GPL v2', url => 'http://twirssi.com', - changed => '$Date: 2009-05-13 15:34:34 -0700 (Wed, 13 May 2009) $', + changed => '$Date: 2009-05-21 14:13:27 -0700 (Thu, 21 May 2009) $', ); my $window; @@ -183,7 +183,7 @@ sub cmd_retweet_as { $twits{$username}->update( { status => $data, - in_reply_to_status_id => $id_map{ lc $nick }[$id] + # in_reply_to_status_id => $id_map{ lc $nick }[$id] } ) ) @@ -1241,7 +1241,10 @@ sub monitor_child { } $failwhale = 1; } - &ccrap("Haven't been able to get updated tweets since $since"); + + if ( time - $last_poll < 600 ) { + &ccrap("Haven't been able to get updated tweets since $since"); + } } } -- 2.39.5