prefer pointer

pull/219/head
v2ray 2016-07-25 21:55:05 +02:00
parent a29a6a586d
commit a509252c24
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}