From a79690870cc79ff5db0e8dd5c391a643a7976564 Mon Sep 17 00:00:00 2001 From: idanoo Date: Sun, 20 Nov 2022 18:27:30 +1300 Subject: [PATCH] Dont skip --- main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.go b/main.go index 8d9e56f..3e2e72c 100644 --- a/main.go +++ b/main.go @@ -112,10 +112,6 @@ func sendWebhook(msgText string) error { // Lookup to country! func ipLookup(ip string) string { - if IP2LOCATION_FILE == "" { - return "" - } - log.Printf("Looking up: %s", ip) db, err := ip2location.OpenDB(IP2LOCATION_FILE)