add cyrillic and make latin/unknown be just the fallback, not compete against other scripts in the identification race.

This commit is contained in:
fiatjaf
2023-12-27 20:57:40 -03:00
parent 1a154f57e9
commit a500e7bb79
3 changed files with 19 additions and 13 deletions

View File

@@ -506,7 +506,7 @@ func isntRealRelay(url string) bool {
}
func maxIndex(slice []int) int {
maxIndex := 0
maxIndex := -1
maxVal := 0
for i, val := range slice {
if val > maxVal {