send mode reader before doing anything

This commit is contained in:
SSantoro
2018-10-12 12:34:48 +02:00
parent 4089c7bf55
commit d15f51f1ce

View File

@@ -206,7 +206,9 @@ NNTP.prototype.connect = function(options) {
//self._parseCaps();
return self.emit('ready');
}
self._send(cmd, params, reentry);
self._send('MODE', 'READER', function() {
self._send(cmd, params, reentry);
});
}
};
}