test
This commit is contained in:
parent
1549a672a1
commit
72d58c83b5
@ -82,6 +82,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
r := regexp.MustCompile(`^(?P<Castle>.)(?s:.*)$`)
|
r := regexp.MustCompile(`^(?P<Castle>.)(?s:.*)$`)
|
||||||
if r.FindStringSubmatch(m.Text) != nil {
|
if r.FindStringSubmatch(m.Text) != nil {
|
||||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : War report identified (%d)\n", objId)
|
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : War report identified (%d)\n", objId)
|
||||||
|
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Castle : %s (%d)\n", r.ReplaceAllString(m.Text, "${Castle}"), objId)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Unknown message type (%d)\n", objId)
|
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Unknown message type (%d)\n", objId)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user