Remove notices from the hilight function.

This commit is contained in:
Jeremiah Ticket 2016-08-25 16:25:50 -08:00
parent 172904ed03
commit 4cf39baa32

View File

@ -63,7 +63,7 @@ sub hilight {
my $server = $dest->{server}; my $server = $dest->{server};
my $window = Irssi::active_server(); my $window = Irssi::active_server();
if (!($server && if (!($server &&
$dest->{level} & (MSGLEVEL_HILIGHT | MSGLEVEL_NOTICES) && $dest->{level} & (MSGLEVEL_HILIGHT) &&
$server->ischannel($dest->{target}) && $server->ischannel($dest->{target}) &&
$window->{refnum} != $dest->{window}->{refnum})) { $window->{refnum} != $dest->{window}->{refnum})) {
return; return;