This commit is contained in:
心隨緣動 authored and GitHub committed 2025-09-10 16:42:29 +08:00
1 parent 74411707e7
commit ea2d69fe38
1 file changed
+3 -1
+3 -1
View File
@@ -1014,7 +1014,9 @@ func (s *InboundService) addClientTraffic(tx *gorm.DB, traffics []*xray.ClientTr
}
// Set onlineUsers
p.SetOnlineClients(onlineClients)
if p != nil {
p.SetOnlineClients(onlineClients)
}
err = tx.Save(dbClientTraffics).Error
if err != nil {