Fix STARTTLS in poster.pl.
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
af5ed9465f
commit
077431fa06
2 changed files with 3 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ huhu 0.11.0 (unreleased)
|
|||
* Update to current Debian version.
|
||||
* Add shell to new huhu mod users.
|
||||
* Add wrapper script for read-mail.pl
|
||||
* Add STARTTLS to poster.pl
|
||||
* Drop more headers.
|
||||
* Only connect to newsserver if there are approved posts.
|
||||
* Fix headers with continuation immediately at start.
|
||||
|
|
|
|||
|
|
@ -84,11 +84,11 @@ sub connect_nntp($)
|
|||
my $cfg_nntp_pass = $r_config->{'nntp_pass'} ||
|
||||
die 'No "nntp_pass" in configuration file';
|
||||
|
||||
$nntp->starttls if $nntp->can_ssl();
|
||||
|
||||
# authinfo does not return a value
|
||||
$nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass);
|
||||
|
||||
$nntp->starttls if $nntp->can_ssl();
|
||||
|
||||
return $nntp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue