From 7c512a5a2f9e29fe595a70070c863c4bb984443d Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 25 Jun 2020 17:30:59 +0200 Subject: [PATCH] test --- workers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workers.go b/workers.go index bbb0829..c6190e0 100644 --- a/workers.go +++ b/workers.go @@ -353,7 +353,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { } else { err = setObjSubTypeId(objId, rule.MsgTypeID64) logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId") - if rule.BotCommand && m.Date.Add(time.Minute).After(time.Now().UTC()) { + if rule.BotCommand { + log.Printf("SQLIdentifyMsgWorker[" + strconv.Itoa(id) + "] : Timed out command\n") } else { switch rule.MsgTypeID64 {