diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/event.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/event.pl b/modules/event.pl index 65c8674..71fa315 100644 --- a/modules/event.pl +++ b/modules/event.pl @@ -720,7 +720,9 @@ sub on_mode sub checkRegged { my ($conn, $chan) = @_; - if (grep {/^r/} @{$::sc{$chan}{modes}}) { + if (grep {/^r/} @{$::sc{$chan}{modes}} + and not ((defined($::channels->{channel}{$chan}{monitor})) and ($::channels->{channel}{$chan}{monitor} eq "no")) ) + { my $tgt = $chan; my $risk = "debug"; my $hilite=ASM::Util->commaAndify(ASM::Util->getAlert($tgt, $risk, 'hilights')); |
