fix issue

This commit is contained in:
joy.zhou committed 2019-09-30 11:04:46 +08:00
1 parent e74b9facd1
commit a3fc611615
7 files changed
+31 -19

No files matched your search

+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
}