Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 5b4e44de authored by Rob Swindell's avatar Rob Swindell

Simplify the changes to get_linked_node()

parent f6ffda09
Pipeline #467 passed with stage
in 14 minutes and 7 seconds
......@@ -273,15 +273,11 @@ function get_linked_node(addr, domain)
var file = new File("sbbsecho.ini");
if(!file.open("r"))
return false;
var result;
if(domain) {
var result = false;
if(domain)
result = file.iniGetObject("node:" + addr + "@" + domain);
if (!result) {
result = file.iniGetObject("node:" + addr);
}
} else {
if (!result)
result = file.iniGetObject("node:" + addr);
}
file.close();
return result;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment