mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Anti-repeat now case-insensitive
This commit is contained in:
parent
4d358fd86e
commit
f9fbae2663
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user