This commit is contained in:
shoopea 2020-02-05 09:52:44 +08:00
parent 8283c9f56e
commit d7647d171f

View File

@ -314,7 +314,7 @@ func SQLCWMsgWorker(id int, msgs <-chan ChatWarsMessage, objIds chan<- int64) {
//log.Printf("SQLCWMsgWorker[" + strconv.Itoa(id) + "] : Starting.")
for m := range msgs {
if len(m.Callbacks) != 0 {
for c := range m.Callbacks {
for _, c := range m.Callbacks {
log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : %s : %s\n", id, m.ID64, c.Name, string(c.Data))
}
}