diff --git a/abwhose.go b/abwhose.go index 0de4a89..b9dd1e3 100644 --- a/abwhose.go +++ b/abwhose.go @@ -75,14 +75,15 @@ func getAbuseReportDetails(header, domain, query string) error { display() } } + if gotMatch { + return nil + } // None of the specific matchers hit so use a generic one - if !gotMatch { - found, display := fallbackEmailMatcher(header, domain, string(rawWhois)) - if found { - display() - return nil - } + found, display := fallbackEmailMatcher(header, domain, string(rawWhois)) + if found { + display() + return nil } fmt.Println(header)