From 714d0806bba11bade31e514170d247c4aa8cce81 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Mon, 26 Jan 2009 20:12:31 -0600 Subject: [PATCH] hilight the nick of the person who tweeted @yournick, instead of hilighting @yournick, as the default irssi behavior would --- twirssi.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twirssi.pl b/twirssi.pl index 8f6be25..4decda6 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -753,7 +753,8 @@ sub monitor_child { } my $hilight_color = $irssi_to_mirc_colors{Irssi::settings_get_str("hilight_color")}; - if ( $_ =~ s/\@($meta{account})\W/\cC$hilight_color\@$1\cO/g ) { + if ( $_ =~ /\@($meta{account})\W/ ) { + $meta{nick} = "\cC$hilight_color$meta{nick}\cO"; $hilight = MSGLEVEL_HILIGHT; } -- 2.30.2