chore: Skip initial "lan" rules that load geoip
This commit is contained in:
parent
8dc56b56ad
commit
9317dd610b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ func (g *GEOIP) GetRecodeSize() int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewGEOIP(country string, adapter string, noResolveIP bool) (*GEOIP, error) {
|
func NewGEOIP(country string, adapter string, noResolveIP bool) (*GEOIP, error) {
|
||||||
if !C.GeodataMode {
|
if !C.GeodataMode || strings.EqualFold(country, "LAN") {
|
||||||
geoip := &GEOIP{
|
geoip := &GEOIP{
|
||||||
Base: &Base{},
|
Base: &Base{},
|
||||||
country: country,
|
country: country,
|
||||||
|
|
Loading…
Reference in a new issue