summaryrefslogtreecommitdiffstats
path: root/modules/inspect.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/inspect.pl')
-rw-r--r--modules/inspect.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/inspect.pl b/modules/inspect.pl
index 1f86dbd..57fc722 100644
--- a/modules/inspect.pl
+++ b/modules/inspect.pl
@@ -72,7 +72,7 @@ sub inspect {
my $evhost = $event->{host};
foreach $chan (@{$event->{to}}) {
foreach $id ( keys %dct ) {
- return unless (ASM::Util->notRestricted($nick, "notrigger"));
+ return unless (ASM::Util->notRestricted($nick, "notrigger") && ASM::Util->notRestricted($nick, "no$id"));
$xresult = $dct{$id}{xresult};
my $nicereason = interpolate($dct{$id}{reason});
$::db->record($chan, $event->{nick}, $event->{user}, $event->{host}, $::sn{lc $event->{nick}}->{gecos}, $dct{$id}{risk}, $id, $nicereason);