mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Plugins/RestrictedMod: very minor text change
This commit is contained in:
parent
c37900d69e
commit
68994f0d8b
@ -79,7 +79,7 @@ sub generic_command {
|
|||||||
|
|
||||||
return "I do not have OPs for this channel. I cannot do any moderation here."
|
return "I do not have OPs for this channel. I cannot do any moderation here."
|
||||||
if not $self->{pbot}->{chanops}->can_gain_ops($channel);
|
if not $self->{pbot}->{chanops}->can_gain_ops($channel);
|
||||||
return "Voiced channel moderation is not enabled for this channel. Use `regset $channel.restrictedmod 1` to enable."
|
return "Voiced moderation is not enabled for this channel. Use `regset $channel.restrictedmod 1` to enable."
|
||||||
if not $self->{pbot}->{registry}->get_value($channel, 'restrictedmod');
|
if not $self->{pbot}->{registry}->get_value($channel, 'restrictedmod');
|
||||||
my $hostmask = "$stuff->{nick}!$stuff->{user}\@$stuff->{host}";
|
my $hostmask = "$stuff->{nick}!$stuff->{user}\@$stuff->{host}";
|
||||||
my $admin = $self->{pbot}->{users}->loggedin_admin($channel, $hostmask);
|
my $admin = $self->{pbot}->{users}->loggedin_admin($channel, $hostmask);
|
||||||
|
Loading…
Reference in New Issue
Block a user