X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=xmlrtorrent.git;a=blobdiff_plain;f=xmlrtorrent.pl;fp=xmlrtorrent.pl;h=c2d823c5ee343f64cdcd32148bf69f47d1293628;hp=7adc01f04103882b33f83a5ba9dc86366cecc935;hb=6f01f49f67344b3315da3eae52dabf30dee6ea26;hpb=08a9610ae083b68b6376caaaf1c7681543fd891c 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);