diff options
Diffstat (limited to 'whois.go')
-rw-r--r-- | whois.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -35,7 +35,9 @@ func main() { */ func findIPBlock(domains ...string) (pairs map[string]string, err error) { - wlogger.Println("Querying for ip-blocks...") + if VERBOSE { + wlogger.Println("Querying for ip-blocks...") + } if len(domains) == 0 { return } @@ -61,7 +63,9 @@ func findIPBlock(domains ...string) (pairs map[string]string, err error) { ipb := strings.TrimSpace(content[2]) pairs[ipaddr] = ipb } - wlogger.Println("ip-blocks returned") + if VERBOSE { + wlogger.Println("ip-blocks returned") + } return } |