mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-28 23:48:46 +00:00
Fix response option
This commit is contained in:
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…
x
Reference in New Issue
Block a user