Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-09-05 14:22:42 +02:00 committed by GitHub
parent 601782a680
commit 31af589966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1137,7 +1137,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");