aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nohilight.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/nohilight.pl b/nohilight.pl
index ed95d35..442bd10 100644
--- a/nohilight.pl
+++ b/nohilight.pl
@@ -18,6 +18,8 @@ sub remove_hilight {
foreach my $nick (@nicks) {
if ($stripped =~ /<.?$nick>/) {
my $window = $dest->{window};
+
+ # Escape formatting character %
$text =~ s/%/%%/g;
# Remove hilight msglevel