fix hammer time job

This commit is contained in:
shoopea 2019-12-19 11:33:11 +08:00
parent 32dd071efa
commit 0fa8592c65

6
job.go
View File

@ -1349,13 +1349,13 @@ func jobGetHammerTime(j Job) {
rule, err := getMsgParsingRule(msg) rule, err := getMsgParsingRule(msg)
logOnError(err, "jobGetHammerTime : getMsgParsingRule") logOnError(err, "jobGetHammerTime : getMsgParsingRule")
cwm, err := parseSubTypeMessageTimeAck(msg, rule.re) cwm, err := parseSubTypeMessageTimeAck(msg, rule.re)
/*
if cwm.State == `🛌Rest` { if cwm.State == `🛌Rest` {
clientSendCWMsg(j.UserID64, `🛡Defend`) clientSendCWMsg(j.UserID64, `🛡Defend`)
} }
*/
err = setJobDone(j.ID64) err = setJobDone(j.ID64)
logOnError(err, "jobSetDef : setJobDone") logOnError(err, "jobGetHammerTime : setJobDone")
return return
} }