summaryrefslogtreecommitdiffstats
path: root/lib/ASM/Inspect.pm
diff options
context:
space:
mode:
authorLibravatarJanik Kleinhoff <ilbelkyr@shalture.org>2016-02-14 01:26:49 +0000
committerLibravatarJanik Kleinhoff <ilbelkyr@shalture.org>2016-02-14 01:26:49 +0000
commitb94bc040e22560259f7f7ac0dd7a044edf4f6aa5 (patch)
treefb8f2ba1210c1aba5e4cc4b4684e6b79379c4f6c /lib/ASM/Inspect.pm
parentb91e545add34ab42915ed054b5da18be2bff16ae (diff)
;suppress: don't touch the monitor flag
Diffstat (limited to 'lib/ASM/Inspect.pm')
-rw-r--r--lib/ASM/Inspect.pm2
1 files changed, 1 insertions, 1 deletions
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)) {