mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 03:30:40 +02:00
* ServerModule's createServer() is now async
* Re-write of NNTP Message-ID <> internal message UUIDs
This commit is contained in:
parent
346815a4f2
commit
9d1815682d
11 changed files with 305 additions and 84 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue