3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Plugins/TypoSub: rename user metadata no-typosub to notyposub to be consistent

This commit is contained in:
Pragmatic Software 2021-06-03 09:49:54 -07:00
parent 6cf489c435
commit 03e75c8dfd

View File

@ -43,7 +43,7 @@ sub on_public {
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;
return 0 if $self->{pbot}->{users}->get_loggedin_user_metadata($channel, "$nick!$user\@$host", 'no-typosub'); return 0 if $self->{pbot}->{users}->get_loggedin_user_metadata($channel, "$nick!$user\@$host", 'notyposub');
return 0 if $channel !~ m/^#/; return 0 if $channel !~ m/^#/;
return 0 if $event->{interpreted}; return 0 if $event->{interpreted};