From be2e197b7c70b27d93f0ee40fc831a0e5606ce95 Mon Sep 17 00:00:00 2001 From: sjlleo Date: Fri, 13 May 2022 13:19:02 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/printer/printer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/printer/printer.go b/util/printer/printer.go index 17f8e5a..1f9ff82 100644 --- a/util/printer/printer.go +++ b/util/printer/printer.go @@ -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) } }