test
This commit is contained in:
parent
01be55cf79
commit
c01fe26ac1
@ -171,9 +171,10 @@ 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)
|
||||
} else {
|
||||
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))
|
||||
//log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar\n%s\n", string(b))
|
||||
}
|
||||
/*
|
||||
if err == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user