fix issue

This commit is contained in:
joy.zhou
2019-09-30 11:04:46 +08:00
parent e74b9facd1
commit a3fc611615
7 changed files with 31 additions and 19 deletions
+3
View File
@@ -244,6 +244,9 @@ func (this *snode) smatch(topic []byte, qos byte, subs *[]interface{}, qoss *[]b
// let's find the subscribers that match the qos and append them to the list.
if len(topic) == 0 {
this.matchQos(qos, subs, qoss)
if mwcn, _ := this.snodes[MWC]; mwcn != nil {
mwcn.matchQos(qos, subs, qoss)
}
return nil
}