3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 04:02:37 +01:00

Plugins/RestrictedMod: fix minor thing

This commit is contained in:
Pragmatic Software 2020-01-31 18:53:03 -08:00
parent 00256f2077
commit 83fc93bddd

View File

@ -97,7 +97,7 @@ sub generic_command {
my $target_user = $self->{pbot}->{users}->find_user($channel, $target_nicklist->{hostmask});
if ((defined $target_user and $target_user->{level} > 0) or $target_user->{autoop} or $target_user->{autovoice}
if ((defined $target_user and $target_user->{level} > 0 or $target_user->{autoop} or $target_user->{autovoice})
or $target_nicklist->{'+v'} or $target_nicklist->{'+o'}
or $self->{pbot}->{antiflood}->whitelisted($channel, $target_nicklist->{hostmask})) {
return "I don't think so."