Compare commits
1 Commits
db95905291
...
d42aa109e7
Author | SHA1 | Date | |
---|---|---|---|
d42aa109e7 |
@@ -178,7 +178,10 @@ NNTP.prototype.connect = function(options) {
|
|||||||
// many? servers don't support the *mandatory* CAPABILITIES command :-(
|
// many? servers don't support the *mandatory* CAPABILITIES command :-(
|
||||||
if (err && cmd !== 'CAPABILITIES') {
|
if (err && cmd !== 'CAPABILITIES') {
|
||||||
self.emit('error', err);
|
self.emit('error', err);
|
||||||
return self._socket.end();
|
if (self._socket) {
|
||||||
|
self._socket.end()
|
||||||
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
// TODO: try sending CAPABILITIES first thing
|
// TODO: try sending CAPABILITIES first thing
|
||||||
if (!cmd) {
|
if (!cmd) {
|
||||||
|
Reference in New Issue
Block a user