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:
8bc1176
)
r554 - Fix hilighting given @service
author
Dan Boger
<zigdon@irc.peeron.com>
Mon, 16 Mar 2009 06:10:14 +0000
(23:10 -0700)
committer
Dan Boger
<zigdon@irc.peeron.com>
Mon, 16 Mar 2009 06:10:14 +0000
(23:10 -0700)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index de43f05c4b224dac7d954873f5f2124854ab0026..cc7c05520c20dc847200048a0c79f28dfaf6562b 100644
(file)
--- a/
twirssi.pl
+++ b/
twirssi.pl
@@
-11,7
+11,7
@@
$Data::Dumper::Indent = 1;
use vars qw($VERSION %IRSSI);
$VERSION = "2.1.3beta";
use vars qw($VERSION %IRSSI);
$VERSION = "2.1.3beta";
-my ($REV) = '$Rev: 55
1
$' =~ /(\d+)/;
+my ($REV) = '$Rev: 55
4
$' =~ /(\d+)/;
%IRSSI = (
authors => 'Dan Boger',
contact => 'zigdon@gmail.com',
%IRSSI = (
authors => 'Dan Boger',
contact => 'zigdon@gmail.com',
@@
-20,7
+20,7
@@
my ($REV) = '$Rev: 551 $' =~ /(\d+)/;
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://twirssi.com',
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://twirssi.com',
- changed => '$Date: 2009-03-15
18:00:12
-0700 (Sun, 15 Mar 2009) $',
+ changed => '$Date: 2009-03-15
23:09:56
-0700 (Sun, 15 Mar 2009) $',
);
my $window;
);
my $window;
@@
-938,8
+938,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 (
( $_ =~ /\@$meta{account}\W/i
)
-
&&
Irssi::settings_get_bool("twirssi_hilights") )
+ if (
$_ eq '@'.substr($meta{account}, 0, index($meta{account}, "@")
)
+
and
Irssi::settings_get_bool("twirssi_hilights") )
{
$meta{nick} = "\cC$hilight_color$meta{nick}\cO";
$hilight = MSGLEVEL_HILIGHT;
{
$meta{nick} = "\cC$hilight_color$meta{nick}\cO";
$hilight = MSGLEVEL_HILIGHT;