Updated cache function to use checkCache function when checking cache

This commit is contained in:
benji7425 2016-12-30 15:45:57 +00:00
parent f1b599c678
commit fa0c529a52

View file

@ -136,7 +136,7 @@ var Links = {
} }
//store the new link if not stored already //store the new link if not stored already
if (!Links.cached.includes(link)) { if (!Links.checkCache(link)) {
Links.cached.push(link); Links.cached.push(link);
Log.info("Cached URL: " + link); Log.info("Cached URL: " + link);
} }