From 0e739d1221e10622a5eaa882006d43466a0b9c4a Mon Sep 17 00:00:00 2001 From: Hongcai Deng Date: Mon, 7 Sep 2015 13:22:05 +0800 Subject: [PATCH] fix stupid mistake --- modules/mailer/mail.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go index ef7f14393..b23d59f17 100644 --- a/modules/mailer/mail.go +++ b/modules/mailer/mail.go @@ -33,8 +33,7 @@ const ( func NewMailMessageFrom(To []string, from, subject, body string) Message { if setting.MailService.FixedNotifyFrom { return NewHtmlMessage(To, setting.MailService.From, subject, body) - } - else { + } else { return NewHtmlMessage(To, from, subject, body) } }