Dont skip

This commit is contained in:
idanoo 2022-11-20 18:27:30 +13:00
parent 3d4ec5c116
commit a79690870c
Signed by: idanoo
GPG Key ID: 387387CDBC02F132

View File

@ -112,10 +112,6 @@ func sendWebhook(msgText string) error {
// Lookup to country! // Lookup to country!
func ipLookup(ip string) string { func ipLookup(ip string) string {
if IP2LOCATION_FILE == "" {
return ""
}
log.Printf("Looking up: %s", ip) log.Printf("Looking up: %s", ip)
db, err := ip2location.OpenDB(IP2LOCATION_FILE) db, err := ip2location.OpenDB(IP2LOCATION_FILE)