Some fixes

This commit is contained in:
Tomas Bures 2019-05-25 21:18:18 +02:00
parent 640d3c2f11
commit 1270ca71f8
13 changed files with 68 additions and 73 deletions

View file

@ -86,7 +86,7 @@ const server = new SMTPServer({
onData: onData
});
function spawn(callback) {
function start(callback) {
if (!config.verp.enabled) {
return setImmediate(callback);
}
@ -145,4 +145,4 @@ function spawn(callback) {
startNextHost();
}
module.exports.spawn = bluebird.promisify(spawn);
module.exports.start = bluebird.promisify(start);