This commit is contained in:
shoopea 2019-05-13 09:59:28 +08:00
parent a94d006381
commit 01be55cf79

View File

@ -171,7 +171,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
//b, err := json.Marshal(cwm)
if (len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11) ||
(len(r.ReplaceAllString(m.Text, "${Loot2}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot2}")) > 11) {
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\nLoot1: %s\nLoot2: %s\n%s\n", r.ReplaceAllString(m.Text, "${Loot1}"), r.ReplaceAllString(m.Text, "${Loot2}")m.Text)
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\nLoot1: %s\nLoot2: %s\n%s\n", r.ReplaceAllString(m.Text, "${Loot1}"), r.ReplaceAllString(m.Text, "${Loot2}"), m.Text)
} /*else {
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar\n%s\n", string(b))
}