fix rerun

This commit is contained in:
shoopea 2021-01-23 22:40:18 +01:00
parent 614dc8333e
commit 1ceaa20265

3
bot.go
View File

@ -833,6 +833,7 @@ func botShops(m *ChatWarsMessage) {
} }
func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) { func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
/*
if hasUnfinishedJob(cacheObjSubType[`job_brew_item`]) { if hasUnfinishedJob(cacheObjSubType[`job_brew_item`]) {
c := TGCommand{ c := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,
@ -843,7 +844,7 @@ func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
TGCmdQueue <- c TGCmdQueue <- c
return return
} }
*/
clt, err := getLockedIdleClient() clt, err := getLockedIdleClient()
if err != nil { if err != nil {
c := TGCommand{ c := TGCommand{