Skip to content

Commit 6aabdd4

Browse files
committed
#72 Refer lhost.Indicators instead of calling lhost.INDICATORS()
1 parent cde4776 commit 6aabdd4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lhost/via-zoho.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ func init() {
2121
if bf == nil || bf.Empty() == true { return sis.RisingUnderway{} }
2222
if len(bf.Headers["x-zohomail"]) == 0 { return sis.RisingUnderway{} }
2323

24-
indicators := INDICATORS()
2524
boundaries := []string{"\n\nReceived:"}
2625
startingof := map[string][]string{
2726
"message": []string{"This message was created automatically by mail delivery"},
@@ -40,10 +39,10 @@ func init() {
4039
// previous line of the beginning of the original message.
4140
if readcursor == 0 {
4241
// Beginning of the bounce message or message/delivery-status part
43-
if strings.HasPrefix(e, startingof["message"][0]) { readcursor |= indicators["deliverystatus"] }
42+
if strings.HasPrefix(e, startingof["message"][0]) { readcursor |= Indicators["deliverystatus"] }
4443
continue
4544
}
46-
if readcursor & indicators["deliverystatus"] == 0 || e == "" { continue }
45+
if readcursor & Indicators["deliverystatus"] == 0 || e == "" { continue }
4746

4847
// This message was created automatically by mail delivery software.
4948
// A message that you sent could not be delivered to one or more of its recip=

0 commit comments

Comments
 (0)