nntp.inc.php | 6 ++----
nntpcore.inc.php | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@269
9869982d-c50d-0410-be91-
f2a2ec7c7c7b
if (!isset($url['port'])) {
$url['port'] = 119;
}
- if (!isset($url['user'])) {
- parent::__construct($url['host'], $url['port']);
- } else {
- parent::__construct($url['host'], $url['port'], 120, false);
+ parent::__construct($url['host'], $url['port']);
+ if (isset($url['user'])) {
$this->authinfo($url['user'], $url['pass']);
}
}
}
$this->checkState();
- $this->posting = ($this->lastresultcode == '200');
+ $this->posting = ($this->lastresultcode == '200');
if ($reader && $this->posting) {
$this->execLine('MODE READER');
$this->posting = ($this->lastresultcode == '200');