Fixed a typo
This commit is contained in:
parent
69106c0cb2
commit
79f88c6aa1
4
send.go
4
send.go
|
@ -81,7 +81,7 @@ func (msg *Message) getRecipients() ([]string, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
list = addAdress(list, addr)
|
||||
list = addAddress(list, addr)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ func (msg *Message) getRecipients() ([]string, error) {
|
|||
return list, nil
|
||||
}
|
||||
|
||||
func addAdress(list []string, addr string) []string {
|
||||
func addAddress(list []string, addr string) []string {
|
||||
for _, a := range list {
|
||||
if addr == a {
|
||||
return list
|
||||
|
|
Loading…
Reference in New Issue