summaryrefslogtreecommitdiff
path: root/src/perl/irssi-core.pl
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-12-17 18:56:56 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-12-17 18:56:56 +0000
commitbae9c1db7a2a2fb2169d147a3632d0f46454f09f (patch)
treece46a97e5a43007e69da73570ea98b0716ddd4bf /src/perl/irssi-core.pl
parentfe4c5abe286b81238d8a5757ba888ff495c04766 (diff)
downloadirssi-bae9c1db7a2a2fb2169d147a3632d0f46454f09f.zip
Fix r4961 change, irssi-core.pl is transformed in a format string so literals
% must be escaped. Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4969 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irssi-core.pl')
-rw-r--r--src/perl/irssi-core.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/irssi-core.pl b/src/perl/irssi-core.pl
index 8821e45b..38265a80 100644
--- a/src/perl/irssi-core.pl
+++ b/src/perl/irssi-core.pl
@@ -10,7 +10,7 @@ use Symbol;
$SIG{__WARN__} = sub {
my @msg = @_;
- s/%/%%/g for @msg;
+ s/%%/%%%%/g for @msg;
print @msg;
};