X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/blobdiff_plain/9f73fa0dc6d86b68bd6dc293600d44f6832258ef..78088bde52810a318d31fb0ece8b621dbc7ce447:/twirssi.pl?ds=inline diff --git a/twirssi.pl b/twirssi.pl index b77aa73..4ba6417 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -11,7 +11,7 @@ $Data::Dumper::Indent = 1; use vars qw($VERSION %IRSSI); $VERSION = "2.2.3beta"; -my ($REV) = '$Rev: 618 $' =~ /(\d+)/; +my ($REV) = '$Rev: 636 $' =~ /(\d+)/; %IRSSI = ( authors => 'Dan Boger', contact => 'zigdon@gmail.com', @@ -20,7 +20,7 @@ my ($REV) = '$Rev: 618 $' =~ /(\d+)/; . 'Can optionally set your bitlbee /away message to same', license => 'GNU GPL v2', url => 'http://twirssi.com', - changed => '$Date: 2009-04-22 16:03:14 -0700 (Wed, 22 Apr 2009) $', + changed => '$Date: 2009-05-13 15:34:34 -0700 (Wed, 13 May 2009) $', ); my $window; @@ -801,6 +801,8 @@ sub get_updates { } close $fh; exit; + } else { + &ccrap("Failed to fork for updating: $!"); } print scalar localtime, " - get_updates ends" if &debug; } @@ -1077,8 +1079,7 @@ sub monitor_child { my $hilight_color = $irssi_to_mirc_colors{ Irssi::settings_get_str("hilight_color") }; - my $nick = - '@' . substr( $meta{account}, 0, index( $meta{account}, "@" ) ); + my $nick = "\@$meta{account}"; if ( $_ =~ /\Q$nick\E(?:\W|$)/i and Irssi::settings_get_bool("twirssi_hilights") ) {