Accept a posting-frequency of "never", too.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2026-02-07 18:48:27 +01:00
parent 67182bc643
commit 41d307a2fe
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@ yapfaq 1.1.0 (unreleased)
* --test: Set Supersedes and don't modify Message-ID if -o is set. * --test: Set Supersedes and don't modify Message-ID if -o is set.
* --test: Force -o if -n is not set. * --test: Force -o if -n is not set.
* Add conversion script for old status files. * Add conversion script for old status files.
* Accept a posting-frequency of "never", too.
yapfaq 1.0.1 (2025-01-24) yapfaq 1.0.1 (2025-01-24)
* Add %t placeholder for Message-ID (feature parity with 0.9). * Add %t placeholder for Message-ID (feature parity with 0.9).

View file

@ -515,8 +515,8 @@ sub BuildPosting {
} }
} }
# not due if Posting-Freqency is "none" # not due if Posting-Freqency is "none" or never
if ($PostingFrequency =~ /none/) { if ($PostingFrequency =~ /none|never/) {
print "... is disabled.\n" if $Config{'verbose'} or $Config{'debug'}; print "... is disabled.\n" if $Config{'verbose'} or $Config{'debug'};
return ''; return '';
} }