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 bb6022ca authored by echicken's avatar echicken

Get[Telnet,RLogin]Interface() fall back on GetGlobalInterface() if empty,

and in turn that returns 'localhost' if none specified in sbbs.ini.
parent fe5b8a1f
......@@ -143,10 +143,10 @@ function GetGlobalInterface() {
function GetTelnetInterface() {
GetSBBSIniValues();
return FTelnetInterface == '' ? 'localhost' : FTelnetInterface;
return FTelnetInterface == '' ? GetGlobalInterface() : FTelnetInterface;
}
function GetRLoginInterface() {
GetSBBSIniValues();
return FRLoginInterface == '' ? 'localhost' : FRLoginInterface;
return FRLoginInterface == '' ? GetGlobalInterface() : FRLoginInterface;
}
\ No newline at end of file
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