mirror of https://github.com/v2ray/v2ray-core
minor optm
parent
fa30713e76
commit
3b9514ec9f
|
@ -53,10 +53,7 @@ func (c *MultiGeoIPMatcher) Match(ip net.IP) bool {
|
||||||
|
|
||||||
// HasMatcher check has matcher
|
// HasMatcher check has matcher
|
||||||
func (c *MultiGeoIPMatcher) HasMatcher() bool {
|
func (c *MultiGeoIPMatcher) HasMatcher() bool {
|
||||||
if len(c.matchers) > 0 {
|
return len(c.matchers) > 0
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func generateRandomTag() string {
|
func generateRandomTag() string {
|
||||||
|
|
Loading…
Reference in New Issue