diff --git a/sound.pl b/sound.pl index 128f765..d7585f4 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;