summaryrefslogtreecommitdiff
path: root/modules/changes
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-11-12 09:50:53 +0100
committertomsmeding <tom.smeding@gmail.com>2016-11-12 09:50:53 +0100
commit6d760d4d654b2cd26649aa5f196d00f983c2e5a8 (patch)
treed3b5e0d47bb272bfe4064dc83dab21ebceba2f89 /modules/changes
parent7cacd9adc7f37377f55e095f743a0889ce0dd6db (diff)
changes: fix for newly added sites
Diffstat (limited to 'modules/changes')
-rw-r--r--modules/changes/changes.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/changes/changes.js b/modules/changes/changes.js
index b420658..49e2420 100644
--- a/modules/changes/changes.js
+++ b/modules/changes/changes.js
@@ -217,6 +217,7 @@ function performNotify(settings,cb){
var newhashes=collectLastHashes();
var diffs=[]; // [{url, oldhash, olddate, newhash, newdate}]
for(var url in newhashes){
+ if(!oldhashes[url])continue;
if(newhashes[url].hash==oldhashes[url].hash)continue;
diffs.push({
url: url,