Change: Drop %LM from subject if Last-Modified is not found.
Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
b16eb1aec4
commit
3b2e5e066d
|
@ -292,6 +292,8 @@ sub postfaq {
|
||||||
#Replace %LM by the content of the news.answer-pseudo-header Last-modified:
|
#Replace %LM by the content of the news.answer-pseudo-header Last-modified:
|
||||||
if ($LastModified) {
|
if ($LastModified) {
|
||||||
$$Subject =~ s/\%LM/$LastModified/;
|
$$Subject =~ s/\%LM/$LastModified/;
|
||||||
|
} else {
|
||||||
|
$$Subject =~ s/[<\[{\(]?\%LM[>\]}\)]?//;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Test mode?
|
# Test mode?
|
||||||
|
|
Loading…
Reference in a new issue