3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

Plugins/RestrictMod: improve error message for unban/unmute

This commit is contained in:
Pragmatic Software 2020-02-01 01:04:12 -08:00
parent e8e26512bc
commit 9b806559cb

View File

@ -95,7 +95,7 @@ sub generic_command {
$self->{pbot}->{chanops}->unban_user($target, $channel, 1);
return "";
} else {
return "I don't think so. This command can unban only bans set by moderators.";
return "I don't think so. That ban was not set by a moderator.";
}
} elsif ($command eq 'unmute') {
my $reason = $self->{pbot}->{chanops}->checkmute($channel, $target);
@ -103,7 +103,7 @@ sub generic_command {
$self->{pbot}->{chanops}->unmute_user($target, $channel, 1);
return "";
} else {
return "I don't think so. This command can unmute only mutes set by moderators.";
return "I don't think so. That mute was not set by a moderator.";
}
}