Interpreter: case-insensitive dehighlight

This commit is contained in:
Pragmatic Software 2020-02-06 03:37:07 -08:00
parent 1a2d463f5b
commit 2f11ae7114
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}