From 887e1a0376193aa0c53cb2a814eb030750e240cc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 18 Feb 2020 08:29:23 +0100 Subject: Fix emailer --- server/lib/emailer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index d0874ab20..26262972d 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts @@ -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 -- cgit v1.2.3