mirror of https://github.com/v2ray/v2ray-core
prefer pointer
parent
a29a6a586d
commit
a509252c24
|
@ -35,7 +35,7 @@ func BeforeTime(t time.Time) ValidationStrategy {
|
|||
}
|
||||
}
|
||||
|
||||
func (this TimeoutValidStrategy) IsValid() bool {
|
||||
func (this *TimeoutValidStrategy) IsValid() bool {
|
||||
return this.until.After(time.Now())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue