X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=blobdiff_plain;f=yapfaq.pl;h=5cba939acae2875460a73312fcbb72ada4459f5e;hb=3b2e5e066de97adc45b2df610111569a4f2fccbf;hpb=b16eb1aec41bc80a9f09f63fdd217433145632dc diff --git a/yapfaq.pl b/yapfaq.pl index 6e3032c..5cba939 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -292,6 +292,8 @@ sub postfaq { #Replace %LM by the content of the news.answer-pseudo-header Last-modified: if ($LastModified) { $$Subject =~ s/\%LM/$LastModified/; + } else { + $$Subject =~ s/[<\[{\(]?\%LM[>\]}\)]?//; } # Test mode?