send mode reader before doing anything

This commit is contained in:
s2
2018-10-12 12:34:48 +02:00
parent f963a7cbb3
commit 512ca14054

View File

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