projects
/
usenet
/
yapfaq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b16eb1a
)
Change: Drop %LM from subject if Last-Modified is not found.
author
Thomas Hochstein
<thh@inter.net>
Sat, 15 May 2010 14:36:52 +0000
(16:36 +0200)
committer
Thomas Hochstein
<thh@inter.net>
Sat, 15 May 2010 14:36:52 +0000
(16:36 +0200)
Signed-off-by: Thomas Hochstein <thh@inter.net>
yapfaq.pl
patch
|
blob
|
blame
|
history
diff --git
a/yapfaq.pl
b/yapfaq.pl
index
6e3032c
..
5cba939
100644
(file)
--- 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?
This page took
0.011708 seconds
and
4
git commands to generate.