From c5c702950fc88f7fa161eb1cc92ed16e77b301c1 Mon Sep 17 00:00:00 2001 From: echicken <> Date: Sun, 7 Oct 2018 05:00:53 +0000 Subject: [PATCH] Do the safety dance, everybody look at your pants and also look to see if the nodelist file exists before trying to load it for a search. --- exec/fido-nodelist-browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/fido-nodelist-browser.js b/exec/fido-nodelist-browser.js index 778c8fd6ad..989a4b6a98 100644 --- a/exec/fido-nodelist-browser.js +++ b/exec/fido-nodelist-browser.js @@ -224,6 +224,7 @@ function search(frame, settings) { if (e.search(/^nodelist_/) > -1) files.push(settings[e]); }); files.forEach(function (e) { + if (!file_exists(e)) return const nodelist = new NodeList(e); nodelist.entries.forEach(function (e) { var r = ['addr', 'sysop', 'name', 'location'].some(function (ee) { -- GitLab