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) } }