Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Oct 9, 2024
1 parent 1861350 commit ecd02c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func parse(binary []byte) (metadata maxminddb.Metadata, countryMap map[string][]
return
}
// idk why
code := country.RegisteredCountry.IsoCode
code := strings.ToLower(country.RegisteredCountry.IsoCode)
countryMap[code] = append(countryMap[code], ipNet)
}
err = networks.Err()
Expand Down

0 comments on commit ecd02c1

Please sign in to comment.