From f494e511b1ba4244ba85325540b44a1ec1a5c60e Mon Sep 17 00:00:00 2001 From: Vaibhav Kumar <60957669+vkvbit@users.noreply.github.com> Date: Thu, 26 Oct 2023 21:47:07 +0530 Subject: [PATCH] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5ce96d0..91de586 100644 --- a/main.go +++ b/main.go @@ -67,7 +67,7 @@ func main() { for _, n := range names { n = cleanDomain(n) - if subsOnly && !strings.HasSuffix(n, domain) { + if subsOnly && !strings.HasSuffix(n, "."+domain) { continue } out <- n