mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
update: 修正一个判断错误
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user