remove listAllowedCmd regexp

This commit is contained in:
2025-07-29 16:41:15 +03:00
parent 1675001f24
commit 7eeedf0b31

View File

@@ -26,7 +26,6 @@ type HandlerV1 struct {
// allowedCmd and listAllowedCmd are regular expressions used to validate command names. // allowedCmd and listAllowedCmd are regular expressions used to validate command names.
allowedCmd *regexp.Regexp allowedCmd *regexp.Regexp
listAllowedCmd *regexp.Regexp
ver string ver string
} }
@@ -39,7 +38,6 @@ func InitV1Server(o *HandlerV1InitStruct) *HandlerV1 {
log: &o.Log, log: &o.Log,
cfg: o.Config, cfg: o.Config,
allowedCmd: o.AllowedCmd, allowedCmd: o.AllowedCmd,
listAllowedCmd: o.ListAllowedCmd,
ver: o.Ver, ver: o.Ver,
} }
} }