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
1 changed files with 1 additions and 1 deletions

View File

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