diff --git a/src/content.ts b/src/content.ts index 2f37cf01..4db051e7 100644 --- a/src/content.ts +++ b/src/content.ts @@ -772,7 +772,7 @@ function getVipSegmentsWarnings(id: string): void { async function isVipLookup() { const currentTime = Date.now(); const lastUpdate = Config.config.lastIsVipUpdate; - if (currentTime - lastUpdate > 1) { //max every 24 hours 1000*60*60*24 + if (currentTime - lastUpdate > 1000*60*60*24) { //max every 24 hours 1000*60*60*24 Config.config.lastIsVipUpdate = currentTime; utils.sendRequestToServer("GET", "/api/isUserVIP?userID=" + Config.config.userID, (response) => {