Commit 313c2176b126d2fd9acb60f28682f28df89f3b07

Authored by Caesar Ahlenhed
1 parent d49ff208

Fix for general highlight

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
pushover.pl
... ... @@ -142,7 +142,7 @@ sub genhilight {
142 142 my $server = $dest->{server};
143 143  
144 144 if($dest->{level} & MSGLEVEL_HILIGHT) {
145   - if($server->{usermode_away} == 1 && index(Irssi::settings_get_str("pushover_ignore_nettag"), $server->{tag}) == -1 && index(Irssi::settings_get_str("pushover_ignore_nick"), $dest->{nick}) == -1){
  145 + if($server->{usermode_away} == 1 && index(Irssi::settings_get_str("pushover_ignore_nettag"), $server->{tag}) == -1 && index($stripped, "<" . Irssi::settings_get_str("pushover_ignore_nick") . ">") == -1){
146 146 if(Irssi::settings_get_bool("pushover_general_hilight")){
147 147 send_noti("General Hilight " . $server->{tag} . "/" . $dest->{target}, $stripped, Irssi::settings_get_str("pushover_priority_general"));
148 148 }
... ...