From 2492f53ab359ac856c8df4ff64305c4214cde461 Mon Sep 17 00:00:00 2001 From: Dan Boger Date: Tue, 7 Apr 2009 07:49:51 -0700 Subject: [PATCH] r599 - fix nick in retweet --- twirssi.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/twirssi.pl b/twirssi.pl index b9a31f0..e6142cd 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -11,7 +11,7 @@ $Data::Dumper::Indent = 1; use vars qw($VERSION %IRSSI); $VERSION = "2.2.1beta"; -my ($REV) = '$Rev: 597 $' =~ /(\d+)/; +my ($REV) = '$Rev: 599 $' =~ /(\d+)/; %IRSSI = ( authors => 'Dan Boger', contact => 'zigdon@gmail.com', @@ -20,7 +20,7 @@ my ($REV) = '$Rev: 597 $' =~ /(\d+)/; . 'Can optionally set your bitlbee /away message to same', license => 'GNU GPL v2', url => 'http://twirssi.com', - changed => '$Date: 2009-04-05 19:22:22 -0700 (Sun, 05 Apr 2009) $', + changed => '$Date: 2009-04-07 07:49:19 -0700 (Tue, 07 Apr 2009) $', ); my $window; @@ -161,7 +161,7 @@ sub cmd_retweet_as { # Irssi::settings_add_str( "twirssi", "twirssi_retweet_format", 'RT $n: $t ${-- $c$}' ); my $text = Irssi::settings_get_str("twirssi_retweet_format"); - $text =~ s/\$n/$nick/g; + $text =~ s/\$n/\@$nick/g; if ($data) { $text =~ s/\${|\$}//g; $text =~ s/\$c/$data/; -- 2.39.5