mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 13:06:09 +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
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue