diff --git a/sound.pl b/sound.pl index d7585f4..128f765 100755 --- a/sound.pl +++ b/sound.pl @@ -234,7 +234,7 @@ sub hilight { my $server = $dest->{server}; my $window = Irssi::active_server(); if (!($server && - $dest->{level} && (MSGLEVEL_HILIGHT) && + $dest->{level} & (MSGLEVEL_HILIGHT) && $server->ischannel($dest->{target}) && $window->{refnum} != $dest->{window}->{refnum})) { return;