Skip to content

Commit

Permalink
Set grant later as we are using waterfall pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
gnought committed Aug 10, 2019
1 parent 405ecdb commit ed5216d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/handlers/subscribe.js
Expand Up @@ -91,9 +91,9 @@ function blockDollarSignTopics (func) {

function storeSubscriptions (sub, done) {
if (!sub) {
this.granted = 128
return done()
return done(null, null)
}

var packet = this.packet

if (packet.restore) {
Expand Down

0 comments on commit ed5216d

Please sign in to comment.