diff --git a/faye-redis.js b/faye-redis.js index 5815e0c..7ceb002 100644 --- a/faye-redis.js +++ b/faye-redis.js @@ -150,7 +150,7 @@ Engine.prototype = { self._redis.publish(self._ns + '/notifications', clientId); self.clientExists(clientId, function(exists) { - if (!exists) this._redis.del(queue); + if (!exists) self._redis.del(queue); }); }); };