From 9a87ea8d14733cfbcc408b315616c4168a9e5fd6 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 6 Jan 2020 14:59:43 +0800 Subject: [PATCH] update --- cron.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.go b/cron.go index 1c9c3fc..f50b86a 100644 --- a/cron.go +++ b/cron.go @@ -44,7 +44,7 @@ func cronSendWarReport() { func cronTribute() { muxClients.RLock() for _, c := range clients { - if c.Active && c.Class == `Knight` { + if c.Active && c.CWClass == `Knight` { clientSendCWMsgDelay(c.TGUserID64, `/tributes`, 0) } }