From 6f01f49f67344b3315da3eae52dabf30dee6ea26 Mon Sep 17 00:00:00 2001 From: Christian Garbs Date: Sun, 28 Dec 2008 13:45:57 +0100 Subject: [PATCH] fix % escaping --- xmlrtorrent.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrtorrent.pl b/xmlrtorrent.pl index 7adc01f..c2d823c 100644 --- a/xmlrtorrent.pl +++ b/xmlrtorrent.pl @@ -97,7 +97,7 @@ sub write_irssi { my $format = '%%mxmlrtorrent: %%n' . shift(@text); # escape % in parameters from irssi - @text = grep { s/%/%%/g } @text; + s/%/%%/g foreach @text; if (defined($output) and ref($output)) { $output->print(sprintf($format, @text), MSGLEVEL_CLIENTCRAP); -- 1.8.3.1