X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/blobdiff_plain/716310d4cade6c8067b01ecde298a97ba5fb1513..885c7bec9c577babd66109642635146ca99551f9:/twirssi.pl diff --git a/twirssi.pl b/twirssi.pl index 42718dd..7753409 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -11,7 +11,7 @@ $Data::Dumper::Indent = 1; use vars qw($VERSION %IRSSI); $VERSION = "2.2.4beta"; -my ($REV) = '$Rev: 647 $' =~ /(\d+)/; +my ($REV) = '$Rev: 650 $' =~ /(\d+)/; %IRSSI = ( authors => 'Dan Boger', contact => 'zigdon@gmail.com', @@ -20,7 +20,7 @@ my ($REV) = '$Rev: 647 $' =~ /(\d+)/; . 'Can optionally set your bitlbee /away message to same', license => 'GNU GPL v2', url => 'http://twirssi.com', - changed => '$Date: 2009-06-04 16:02:51 -0700 (Thu, 04 Jun 2009) $', + changed => '$Date: 2009-06-11 16:51:40 -0700 (Thu, 11 Jun 2009) $', ); my $window; @@ -1382,7 +1382,7 @@ sub hilight { if ( Irssi::settings_get_str("twirssi_topic_color") ) { my $c = Irssi::settings_get_str("twirssi_topic_color"); $c = $irssi_to_mirc_colors{$c}; - $text =~ s/(^|\W)\#([-\w]+)/$1\cC$c\#$2\cO/g if $c; + $text =~ s/(^|\W)(\#|\!)([-\w]+)/$1\cC$c$2$3\cO/g if $c; } $text =~ s/[\n\r]/ /g;