Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sub/subJsonService.go')
-rw-r--r--sub/subJsonService.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/subJsonService.go b/sub/subJsonService.go
index a51f10bb..38f1ddc8 100644
--- a/sub/subJsonService.go
+++ b/sub/subJsonService.go
@@ -116,7 +116,7 @@ func (s *SubJsonService) GetJson(subId string, host string) (string, string, err
}
for _, client := range clients {
- if client.Enable && client.SubID == subId {
+ if client.SubID == subId {
clientTraffics = append(clientTraffics, s.SubService.getClientTraffics(inbound.ClientStats, client.Email))
newConfigs := s.getConfig(inbound, client, host)
configArray = append(configArray, newConfigs...)