mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
fix auto file content loader
This commit is contained in:
parent
a8c58c9ad4
commit
179d6568fc
@ -26,7 +26,7 @@ func filterMessage(ctx context.Context, message protoreflect.Message) error {
|
||||
var fileReadingQueue []fileRead
|
||||
message.Range(func(descriptor protoreflect.FieldDescriptor, value protoreflect.Value) bool {
|
||||
v2extension, ferr := protoext.GetFieldOptions(descriptor)
|
||||
if ferr != nil {
|
||||
if ferr == nil {
|
||||
if v2extension.Forbidden {
|
||||
if value.Bool() {
|
||||
err = newError("a forbidden value is set ", descriptor.FullName())
|
||||
|
Loading…
Reference in New Issue
Block a user