diff options
| author | Dwarf | 2016-01-20 22:59:49 +0100 |
|---|---|---|
| committer | Dwarf | 2016-01-20 22:59:49 +0100 |
| commit | 857e3b2da624a69673cafcf211419003f07f4584 (patch) | |
| tree | 1c2ff876ebd146349ddfa91610273456fe39ea3e /scripts | |
| parent | a4faf05e13df0337dbc8a08c029993b602f41e04 (diff) | |
| download | scripts.irssi.org-857e3b2da624a69673cafcf211419003f07f4584.tar.bz2 | |
Fix escaping for active_notice.pl when a line starts with a percent sign.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/active_notice.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/active_notice.pl b/scripts/active_notice.pl index 6529364..876dd9d 100644 --- a/scripts/active_notice.pl +++ b/scripts/active_notice.pl @@ -24,7 +24,7 @@ use strict; use Irssi; use vars qw($VERSION %IRSSI); -$VERSION = "1.07"; +$VERSION = "1.08"; %IRSSI = ( authors => 'Geert Hauwaerts', @@ -33,7 +33,7 @@ $VERSION = "1.07"; description => 'This script shows notices into the active channel unless it has its own window.', license => 'GNU General Public License', url => 'http://irssi.hauwaerts.be/active_notice.pl', - changed => 'Wed Sep 17 23:00:11 CEST 2003', + changed => 'Wed Jan 20 22:57:37 CEST 2016', ); Irssi::theme_register([ @@ -52,6 +52,7 @@ sub notice_move { return if $witem; + $text =~ s/%/%%/g; $awin->print($text, MSGLEVEL_NOTICES); Irssi::signal_stop(); |
