diff --git a/modules/strange-spam.pl b/modules/strange-spam.pl index 0eb8da5a..6ee3e0cf 100644 --- a/modules/strange-spam.pl +++ b/modules/strange-spam.pl @@ -16,7 +16,7 @@ # 59 Temple Place, Suite 330 # Boston, MA 02111-1307 USA -$ModulesDescription .= '
$Id: strange-spam.pl,v 1.8 2006/08/15 09:23:16 as Exp $
'; +$ModulesDescription .= '$Id: strange-spam.pl,v 1.9 2006/08/15 09:25:07 as Exp $
'; use vars qw($StrangeBannedContent); @@ -48,7 +48,8 @@ sub StrangeNewBannedContent { my $regexp = $_; next unless $regexp; # skip empty strings if ($str =~ /($regexp)/i) { - return Tss('Rule "%1" matched "%2" on this page.', QuoteHtml($regexp), $1); + my $match = $1; + return Tss('Rule "%1" matched "%2" on this page.', QuoteHtml($regexp), $match); } } return 0;