fix
This commit is contained in:
parent
82c50651ac
commit
fa5967a463
@ -353,7 +353,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
} else {
|
||||
err = setObjSubTypeId(objId, rule.MsgTypeID64)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId")
|
||||
if rule.BotCommand && time.Now().UTC().Add(time.Minute).After(m.Date) {
|
||||
if rule.BotCommand && time.Now().UTC().After(m.Date.Add(time.Minute)) {
|
||||
log.Printf("SQLIdentifyMsgWorker[" + strconv.Itoa(id) + "] : Timed out command\n")
|
||||
} else {
|
||||
switch rule.MsgTypeID64 {
|
||||
|
Loading…
Reference in New Issue
Block a user