mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
Fix response option
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user