mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Interpreter: case-insensitive dehighlight
This commit is contained in:
parent
1a2d463f5b
commit
2f11ae7114
@ -927,7 +927,7 @@ sub dehighlight_nicks {
|
||||
my $n = quotemeta $nicklist->{$channel}->{$nick}->{nick};
|
||||
my $n_nh = $nicklist->{$channel}->{$nick}->{nick};
|
||||
$n_nh =~ s/^(.)/$1$zwsp/;
|
||||
$line =~ s/$n/$n_nh/g;
|
||||
$line =~ s/$n/$n_nh/gi;
|
||||
}
|
||||
return $line;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user