From fa03abb94eb3ec7478107461a8b5d08462dffb63 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 9 Jan 2019 14:03:49 -0500 Subject: [PATCH] Try to fix hilight not being reported. --- sound.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;