From dd442d57ceecaa0d9d3e61733a1a5f933aa7ff3d Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 19 Jun 2020 21:30:38 +0200 Subject: [PATCH] test get stash --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index e413687..3b5bc81 100644 --- a/bot.go +++ b/bot.go @@ -1097,7 +1097,7 @@ func botGetStash(m *ChatWarsMessage, r *regexp.Regexp) { if c.Active { p.ClientCount++ p.ClientID64 = append(p.ClientID64, c.TGUserID64) - if c.CWBusyUntil > busy { + if c.CWBusyUntil.After(busy) { busy = c.CWBusyUntil } }