Browse Source

Remove unhelpful name

Shelikhoo 4 năm trước cách đây
mục cha
commit
71b2ff65f4
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      infra/conf/v2ray.go

+ 0 - 2
infra/conf/v2ray.go

@@ -581,8 +581,6 @@ func (c *Config) Build() (*core.Config, error) {
 		protoregistry.GlobalTypes.RangeMessages(func(messageType protoreflect.MessageType) bool {
 			switch d := messageType.Descriptor().(type) {
 			case protoreflect.MessageDescriptor:
-				sb.WriteString(string(d.Name()))
-				sb.WriteString(":")
 				sb.WriteString(string(d.FullName()))
 				sb.WriteString("\n")
 			}