summaryrefslogtreecommitdiffstats
path: root/scripts/hilightwin.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hilightwin.pl')
-rw-r--r--scripts/hilightwin.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/hilightwin.pl b/scripts/hilightwin.pl
index cb54ef2..d735e1b 100644
--- a/scripts/hilightwin.pl
+++ b/scripts/hilightwin.pl
@@ -11,7 +11,7 @@ use Irssi;
use POSIX;
use vars qw($VERSION %IRSSI);
-$VERSION = "0.02";
+$VERSION = "0.03";
%IRSSI = (
authors => "Timo \'cras\' Sirainen, Mark \'znx\' Sangster",
contact => "tss\@iki.fi, znxster\@gmail.com",
@@ -44,6 +44,7 @@ sub sig_printtext {
Irssi::settings_get_str('timestamp_format')." ",
localtime
).$text;
+ $text =~ s/%/%%/g;
$window->print($text, MSGLEVEL_NEVER) if ($window);
}
}