Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only highlight the right messages.

  • Loading branch information...
commit 2b394fe0b48e45d06516fca613b2a109d0a8e6dd 1 parent 47299d7
@djl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .irssi/scripts/herald.pl
View
2  .irssi/scripts/herald.pl
@@ -72,7 +72,7 @@ sub herald_message {
return unless Irssi::settings_get_bool('herald_notify_on_nick');
my ($dest, $text, $stripped) = @_;
my $server = Irssi::active_server();
- if ($dest->{level} & MSGLEVEL_HILIGHT && $stripped =~ /$server->{nick}/i) {
+ if ($dest->{level} & MSGLEVEL_HILIGHT) {
herald(
'type' => 'public',
'server' => $server,
Please sign in to comment.
Something went wrong with that request. Please try again.