3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-26 20:52:37 +01:00

Anti-repeat now case-insensitive

This commit is contained in:
Pragmatic Software 2017-08-18 00:52:21 -07:00
parent 4d358fd86e
commit f9fbae2663

View File

@ -100,7 +100,7 @@ sub on_public {
next if $self->{offenses}->{$account}->{$channel}->{last_offense} >= $string2->{timestamp};
}
my $string = lcss($string1->{msg}, $string2->{msg});
my $string = lcss(lc $string1->{msg}, lc $string2->{msg});
if (defined $string) {
my $length = length $string;