This commit is contained in:
shoopea 2020-01-06 14:59:43 +08:00
parent f7e7dbc967
commit 9a87ea8d14

View File

@ -44,7 +44,7 @@ func cronSendWarReport() {
func cronTribute() { func cronTribute() {
muxClients.RLock() muxClients.RLock()
for _, c := range clients { for _, c := range clients {
if c.Active && c.Class == `Knight` { if c.Active && c.CWClass == `Knight` {
clientSendCWMsgDelay(c.TGUserID64, `/tributes`, 0) clientSendCWMsgDelay(c.TGUserID64, `/tributes`, 0)
} }
} }