mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-26 19:48:34 +00:00
qos 1
This commit is contained in:
@@ -14,7 +14,7 @@ const (
|
||||
)
|
||||
|
||||
func (c *client) CheckTopicAuth(typ int, topic string) bool {
|
||||
if !c.broker.config.Acl {
|
||||
if c.typ != CLIENT || !c.broker.config.Acl {
|
||||
return true
|
||||
}
|
||||
if strings.HasPrefix(topic, "$queue/") {
|
||||
|
||||
Reference in New Issue
Block a user