From b94bc040e22560259f7f7ac0dd7a044edf4f6aa5 Mon Sep 17 00:00:00 2001 From: Janik Kleinhoff Date: Sun, 14 Feb 2016 01:26:49 +0000 Subject: ;suppress: don't touch the monitor flag --- lib/ASM/Inspect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ASM/Inspect.pm') diff --git a/lib/ASM/Inspect.pm b/lib/ASM/Inspect.pm index 14796ee..363be54 100644 --- a/lib/ASM/Inspect.pm +++ b/lib/ASM/Inspect.pm @@ -94,7 +94,7 @@ sub inspect { # because we can't yet respect stuff like notrigger for these next unless $::synced{lc $chan}; next unless $chan =~ /^#/; - next if ((defined($::channels->{channel}->{$chan}->{monitor})) and ($::channels->{channel}->{$chan}->{monitor} eq "no")); + next unless ASM::Util->mayAlert($chan); foreach $id (keys %aonx) { next unless ( grep { $event->{type} eq $_ } split(/[,:; ]+/, $aonx{$id}{type}) ); if (defined($response)) { -- cgit v1.2.3