update
This commit is contained in:
parent
f7e7dbc967
commit
9a87ea8d14
2
cron.go
2
cron.go
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user