Change: Drop %LM from subject if Last-Modified is not found.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2010-05-15 16:36:52 +02:00
parent b16eb1aec4
commit 3b2e5e066d

View file

@ -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?