mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Plugins/TypoSub: respect ignore list
This commit is contained in:
parent
917ceb4912
commit
a857cbc5ef
@ -39,6 +39,7 @@ sub on_public {
|
|||||||
|
|
||||||
($nick, $user, $host) = $self->{pbot}->{irchandlers}->normalize_hostmask($nick, $user, $host);
|
($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');
|
my $nosubs = $self->{pbot}->{registry}->get_value($channel, 'notyposub');
|
||||||
return 0 if defined $nosubs and $nosubs;
|
return 0 if defined $nosubs and $nosubs;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user