Small fixes (#2106)
This commit is contained in:
1 parent
c5b30d6c6c
commit
43ec88bb24
2 files changed
+5
-1
No files matched your search
@@ -1469,7 +1469,7 @@ func (t *Tgbot) notifyExhausted() {
|
||||
var disabledClients []xray.ClientTraffic
|
||||
var exhaustedClients []xray.ClientTraffic
|
||||
traffics, err := t.inboundService.GetClientTrafficTgBot(client.TgID)
|
||||
if err == nil {
|
||||
if err == nil && len(traffics) > 0 {
|
||||
output := t.I18nBot("tgbot.messages.exhaustedCount", "Type=="+t.I18nBot("tgbot.clients"))
|
||||
for _, traffic := range traffics {
|
||||
if traffic.Enable {
|
||||
|
||||
Reference in new issue
Block a user