3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

ChanOpCommands: uppercase kick reason if kick command is uppercased

This commit is contained in:
Pragmatic Software 2020-06-25 09:53:09 -07:00
parent be2376cf4b
commit 7e31a3ee26

View File

@ -642,6 +642,10 @@ sub cmd_kick {
}
}
if ($context->{keyword} =~ /^[A-Z]+$/) {
$reason = uc $reason;
}
my @nicks = split /,/, $victim;
foreach my $n (@nicks) {
if ($n =~ m/\*/) {