diff options
| author | ailin-nemui | 2016-01-22 09:29:12 +0100 |
|---|---|---|
| committer | ailin-nemui | 2016-01-22 09:29:12 +0100 |
| commit | b0c65689cf8fa053eb292ab3aac220a1a28cf756 (patch) | |
| tree | 97e39a629bfe7d0e7df5ed6d6ecbde4483933fa6 /scripts | |
| parent | ad00e92f4b0bd0547ce9af10138686a96460c784 (diff) | |
| parent | 857e3b2da624a69673cafcf211419003f07f4584 (diff) | |
| download | scripts.irssi.org-b0c65689cf8fa053eb292ab3aac220a1a28cf756.tar.bz2 | |
Merge pull request #220 from nvisser/active_notice/fix-escaping
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(); |
