fix var in cronSendReport

This commit is contained in:
shoopea 2019-12-12 17:51:01 +08:00
parent a983da04a2
commit e09ac8e515

View File

@ -21,7 +21,7 @@ func stopCron(c *cron.Cron) {
func cronSendReport() {
muxClients.RLock()
for id, c := range clients {
for _, c := range clients {
if c.Active {
clientSendCWMsg(c.TGUserID64, `/report`)
}