complete original config support for sing, fix DelUsers for vless

This commit is contained in:
Yuzuki616
2023-08-25 12:42:47 +08:00
parent f6b4c04f43
commit cb868c7411
2 changed files with 14 additions and 0 deletions

View File

@@ -98,6 +98,8 @@ func (b *Box) DelUsers(users []panel.UserInfo, tag string) error {
switch i.Type() {
case "vmess":
del = i.(*inbound.VMess)
case "vless":
del = i.(*inbound.VLESS)
case "shadowsocks":
del = i.(*inbound.ShadowsocksMulti)
case "trojan":