diff --git a/common/protocol/server_spec.go b/common/protocol/server_spec.go index f6eefa1c..359d7c59 100644 --- a/common/protocol/server_spec.go +++ b/common/protocol/server_spec.go @@ -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()) }