fixed blocking cache derp

v1.18.x
Julian Lam 7 years ago
parent 6811086bb2
commit a34584e8f5

@ -58,7 +58,7 @@ module.exports = function (User) {
}
blocked = blocked.map(uid => parseInt(uid, 10)).filter(Boolean);
User.blocks._cache.set(uid, blocked);
User.blocks._cache.set(parseInt(uid, 10), blocked);
callback(null, blocked);
});
};

Loading…
Cancel
Save