update: 修正一个判断错误

This commit is contained in:
sjlleo
2022-05-13 13:19:02 +08:00
parent 89504876bc
commit be2e197b7c

View File

@@ -94,7 +94,7 @@ func formatIpGeoData(ip string, data *ipgeo.IPGeoData) string {
if data.City != "" {
res = append(res, data.City)
}
if data.City != "" {
if data.Owner != "" {
res = append(res, data.Owner)
}
}