Plugins/TypoSub: respect ignore list

This commit is contained in:
Pragmatic Software 2020-04-09 11:42:17 -07:00
parent 917ceb4912
commit a857cbc5ef
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ sub on_public {
($nick, $user, $host) = $self->{pbot}->{irchandlers}->normalize_hostmask($nick, $user, $host);
return 0 if $self->{pbot}->{ignorelist}->is_ignored($channel, "$nick!$user\@$host");
my $nosubs = $self->{pbot}->{registry}->get_value($channel, 'notyposub');
return 0 if defined $nosubs and $nosubs;