1
0
Fork 0

Fix emailer

This commit is contained in:
Chocobozzz 2020-02-18 08:29:23 +01:00
parent 134cf2bce9
commit 887e1a0376
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Emailer {
if (this.initialized === true) return
this.initialized = true
if (isEmailEnabled) {
if (isEmailEnabled()) {
logger.info('Using %s:%s as SMTP server.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT)
let tls