thanks to @Stefdv #284

This commit is contained in:
Mark Nadal 2016-11-29 11:35:20 -08:00 committed by GitHub
parent ce32d8414b
commit bd960b4d67

2
gun.js
View File

@ -2157,7 +2157,7 @@
}catch(e){ err = e || "localStorage failure" }
});
//console.log('@@@@@@@@@@local put!');
if(Gun.obj.empty(gun.Back('opt.peers'))){
if(Gun.obj.empty(at.gun.Back('opt.peers'))){
Gun.on.ack(at, {err: err, ok: 0}); // only ack if there are no peers.
}
}