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:
parent
6cf489c435
commit
03e75c8dfd
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user