diff options
| author | Geert Hauwaerts | 2015-01-28 16:00:54 +0100 |
|---|---|---|
| committer | Geert Hauwaerts | 2015-01-28 16:00:54 +0100 |
| commit | 5409e84f3540126acec9fe0f05d7794504a46c55 (patch) | |
| tree | fdc70af0c7dd1e1097d295a21e9a611bb41cde31 /scripts | |
| parent | ebe02d5337cf9b5202721477c41762e96d75c912 (diff) | |
| parent | 9a6ac88a69703c94fd099d2c5188523cf1b47d5c (diff) | |
| download | scripts.irssi.org-5409e84f3540126acec9fe0f05d7794504a46c55.tar.bz2 | |
Merge pull request #127 from ailin-nemui/hilightwin_percent
Fix formatting codes in hilightwin
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/hilightwin.pl | 3 |
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); } } |
