Fix response option

pull/314/merge v2.10.2
Darien Raymond 2016-12-12 22:46:15 +01:00
parent 42417cab17
commit 3005526e32
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func (v *ResponseOption) Set(option ResponseOption) {
} }
func (v ResponseOption) Has(option ResponseOption) bool { func (v ResponseOption) Has(option ResponseOption) bool {
return (v | option) == option return (v & option) == option
} }
func (v *ResponseOption) Clear(option ResponseOption) { func (v *ResponseOption) Clear(option ResponseOption) {