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