* ServerModule's createServer() is now async

* Re-write of NNTP Message-ID <> internal message UUIDs
This commit is contained in:
Bryan Ashby 2018-12-27 02:19:26 -07:00
parent 346815a4f2
commit 9d1815682d
11 changed files with 305 additions and 84 deletions

View file

@ -288,10 +288,10 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
super();
}
createServer() {
createServer(cb) {
const config = Config();
if(true != config.loginServers.ssh.enabled) {
return;
return cb(null);
}
const serverConf = {
@ -318,6 +318,8 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
Log.info(info, 'New SSH connection');
this.handleNewClient(new SSHClient(conn), conn._sock, ModuleInfo);
});
return cb(null);
}
listen() {