projects
/
twirssi-net-twitter-lite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d7a8498
)
hilight the nick of the person who tweeted @yournick, instead of hilighting @yournick...
author
Brian S. Stephan
<bss@emptymatter.org>
Tue, 27 Jan 2009 02:12:31 +0000
(20:12 -0600)
committer
Brian S. Stephan
<bss@emptymatter.org>
Tue, 27 Jan 2009 02:12:31 +0000
(20:12 -0600)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index 8f6be2507a965599af5a6789e72e267118ba0007..4decda6d27c183e41f40536bc51c49b5de1e6d7b 100644
(file)
--- 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")};
}
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;
}
$hilight = MSGLEVEL_HILIGHT;
}