mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
prefer pointer
This commit is contained in:
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
Block a user