Fix IsEmpty

This commit is contained in:
Martin Polden 2018-02-10 20:47:35 +01:00
parent 8b1d263e58
commit 1fdaa8f9b1
1 changed files with 1 additions and 1 deletions

View File

@ -88,5 +88,5 @@ func (g *geoip) City(ip net.IP) (string, error) {
}
func (g *geoip) IsEmpty() bool {
return g.country != nil || g.city != nil
return g.country == nil && g.city == nil
}