fix hammer time job
This commit is contained in:
parent
32dd071efa
commit
0fa8592c65
12
job.go
12
job.go
@ -1349,13 +1349,13 @@ func jobGetHammerTime(j Job) {
|
||||
rule, err := getMsgParsingRule(msg)
|
||||
logOnError(err, "jobGetHammerTime : getMsgParsingRule")
|
||||
cwm, err := parseSubTypeMessageTimeAck(msg, rule.re)
|
||||
|
||||
if cwm.State == `🛌Rest` {
|
||||
clientSendCWMsg(j.UserID64, `🛡Defend`)
|
||||
}
|
||||
|
||||
/*
|
||||
if cwm.State == `🛌Rest` {
|
||||
clientSendCWMsg(j.UserID64, `🛡Defend`)
|
||||
}
|
||||
*/
|
||||
err = setJobDone(j.ID64)
|
||||
logOnError(err, "jobSetDef : setJobDone")
|
||||
logOnError(err, "jobGetHammerTime : setJobDone")
|
||||
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user