mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-26 11:38:33 +00:00
modify remote
This commit is contained in:
@@ -401,7 +401,7 @@ func (c *client) ProcessUnSubscribe(packet *packets.UnsubscribePacket) {
|
||||
func (c *client) unsubscribe(sub *subscription) {
|
||||
|
||||
if c.typ == CLIENT {
|
||||
delete(c.subs, string(sub.topic))
|
||||
delete(c.subs, sub.topic)
|
||||
}
|
||||
|
||||
if c.broker != nil {
|
||||
|
||||
Reference in New Issue
Block a user