mirror of https://github.com/v2ray/v2ray-core
parent
42417cab17
commit
3005526e32
|
@ -67,7 +67,7 @@ func (v *ResponseOption) Set(option ResponseOption) {
|
|||
}
|
||||
|
||||
func (v ResponseOption) Has(option ResponseOption) bool {
|
||||
return (v | option) == option
|
||||
return (v & option) == option
|
||||
}
|
||||
|
||||
func (v *ResponseOption) Clear(option ResponseOption) {
|
||||
|
|
Loading…
Reference in New Issue