diff --git a/Plugins/TypoSub.pm b/Plugins/TypoSub.pm index f91462f5..2b7f8b5c 100644 --- a/Plugins/TypoSub.pm +++ b/Plugins/TypoSub.pm @@ -43,6 +43,8 @@ sub on_public { my $nosubs = $self->{pbot}->{registry}->get_value($channel, 'notyposub'); return 0 if defined $nosubs and $nosubs; + return 0 if $self->{pbot}->{users}->get_loggedin_user_metadata($channel, "$nick!$user\@$host", 'no-typosub'); + return 0 if $channel !~ m/^#/; return 0 if $event->{interpreted};