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:
dbca4ad
)
Change: Authenticate only if $NNTPUser is set.
author
Thomas Hochstein
<thh@inter.net>
Fri, 9 Apr 2010 22:49:24 +0000
(
00:49
+0200)
committer
Thomas Hochstein
<thh@inter.net>
Fri, 9 Apr 2010 22:49:24 +0000
(
00:49
+0200)
Signed-off-by: Thomas Hochstein <thh@inter.net>
yapfaq.pl
patch
|
blob
|
blame
|
history
diff --git
a/yapfaq.pl
b/yapfaq.pl
index
5b7160a
..
bce9684
100644
(file)
--- a/
yapfaq.pl
+++ b/
yapfaq.pl
@@
-305,7
+305,7
@@
sub post {
my $NewsConnection = Net::NNTP->new($NNTPServer, Reader => 1)
or die "$0: E: Can't connect to news server '$NNTPServer'!\n";
- $NewsConnection->authinfo ($NNTPUser, $NNTPPass);
+ $NewsConnection->authinfo ($NNTPUser, $NNTPPass)
if (defined($NNTPUser))
;
$NewsConnection->post();
$NewsConnection->datasend (@$ArticleR);
$NewsConnection->dataend();
This page took
0.011819 seconds
and
4
git commands to generate.