commit 52b8899b12744a8509a0b25b6dc90679f8a7f84b
parent d4c99e3f3f67b1f964da961ab4c25b08fed52050
Author: finwo <finwo@pm.me>
Date: Thu, 15 Nov 2018 17:02:11 +0100
It's not up to this package to clear the queue
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/custom/wsrpc.js b/src/custom/wsrpc.js
@@ -72,7 +72,6 @@ module.exports = function (location, options, callback) {
// Handle auth & callback
ws.on('open', function() {
- if (auth && queue.length) queue = [];
if (auth) return db.auth(auth,cb);
cb();
});