fix matcher group

pull/1269/head
Darien Raymond 6 years ago
parent edcf564dd7
commit e72d4d6c25
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -89,6 +89,10 @@ func (g *MatcherGroup) Match(pattern string) uint32 {
return c
}
if c := g.domainMatcher.Match(pattern); c > 0 {
return c
}
for _, e := range g.otherMatchers {
if e.m.Match(pattern) {
return e.id

Loading…
Cancel
Save