one very small simplification
This commit is contained in:
parent
068ba8bfb0
commit
765d35b399
@ -46,9 +46,8 @@ func (m *Message) parseTags() (map[string]string, error) {
|
||||
m.parseIndex += len(tags[key]) + 1
|
||||
} else if m.Raw[m.parseIndex+next] == ';' {
|
||||
key := m.Raw[m.parseIndex : m.parseIndex+next]
|
||||
m.parseIndex += next
|
||||
m.parseIndex += next + 1
|
||||
tags[key] = ""
|
||||
m.parseIndex++
|
||||
} else {
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user