test get stash

This commit is contained in:
shoopea 2020-06-19 21:30:38 +02:00
parent c1f68209b5
commit dd442d57ce

2
bot.go
View File

@ -1097,7 +1097,7 @@ func botGetStash(m *ChatWarsMessage, r *regexp.Regexp) {
if c.Active { if c.Active {
p.ClientCount++ p.ClientCount++
p.ClientID64 = append(p.ClientID64, c.TGUserID64) p.ClientID64 = append(p.ClientID64, c.TGUserID64)
if c.CWBusyUntil > busy { if c.CWBusyUntil.After(busy) {
busy = c.CWBusyUntil busy = c.CWBusyUntil
} }
} }