Skip to content
Snippets Groups Projects
Commit c5c70295 authored by echicken's avatar echicken
Browse files

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.
parent 363f1e16
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment