Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-09-06 20:38:40 +02:00
parent 79326492a7
commit bf03e36c1e
1 changed files with 0 additions and 1 deletions

View File

@ -1109,7 +1109,6 @@ module.exports = (_ => {
else request.get(`https://mwittrien.github.io/BetterDiscordAddons/Library/_res/${dataFileName}`, (e, r, b) => {
if ((e || !b || r.statusCode != 200) && tryAgain) return BDFDB.TimeUtils.timeout(_ => requestLibraryData(), 10000);
if (!e && b && r.statusCode == 200) {
if (backupObj.backup.replace(/\s/g, "") == b.replace(/\s/g, "")) console.log("yes");
if (backupObj.backup && backupObj.backup.replace(/\s/g, "") == b.replace(/\s/g, "")) {
libHashes[dataFileName] = oldLibHashes[dataFileName];
BDFDB.DataUtils.save(libHashes, BDFDB, "hashes");