* 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

@ -71,9 +71,9 @@ exports.getModule = class GopherModule extends ServerModule {
this.log = Log.child( { server : 'Gopher' } );
}
createServer() {
createServer(cb) {
if(!this.enabled) {
return;
return cb(null);
}
const config = Config();
@ -96,6 +96,8 @@ exports.getModule = class GopherModule extends ServerModule {
}
});
});
return cb(null);
}
listen() {