diff --git a/web/service/inbound.go b/web/service/inbound.go index 1f29d1b7..c8373dd3 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -1133,7 +1133,7 @@ func (s *InboundService) ResetClientTraffic(id int, clientEmail string) (bool, e return false, err } for _, client := range clients { - if client.Email == clientEmail { + if client.Email == clientEmail && client.Enable { s.xrayApi.Init(p.GetAPIPort()) cipher := "" if string(inbound.Protocol) == "shadowsocks" {