Fixed syntax

This commit is contained in:
Official Noob
2020-01-06 21:20:22 +00:00
committed by GitHub
parent 0b9def800b
commit c20b67d11f

2
SB.js
View File

@@ -28,7 +28,7 @@ fetchConfig = () => new Promise((resolve, reject) => {
function migrate() { // Convert sponsorTimes format
for (key in SB.localconfig) {
if (key.startsWith("sponsorTimes") && key !== "sponsorTimes")) {
if (key.startsWith("sponsorTimes") && key !== "sponsorTimes") {
SB.config.sponsorTimes.set(key.substr(12), SB.config[key]);
delete SB.config[key];
}