mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
minor optm
This commit is contained in:
parent
fa30713e76
commit
3b9514ec9f
@ -53,10 +53,7 @@ func (c *MultiGeoIPMatcher) Match(ip net.IP) bool {
|
||||
|
||||
// HasMatcher check has matcher
|
||||
func (c *MultiGeoIPMatcher) HasMatcher() bool {
|
||||
if len(c.matchers) > 0 {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return len(c.matchers) > 0
|
||||
}
|
||||
|
||||
func generateRandomTag() string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user