diff --git a/PBot/Interpreter.pm b/PBot/Interpreter.pm index eac2b327..2ec22145 100644 --- a/PBot/Interpreter.pm +++ b/PBot/Interpreter.pm @@ -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; }