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
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue