these flags are root level;

pull/114/head
Bryan Biedenkapp 1 month ago
parent d853b35654
commit 2e9eb30d26

@ -342,7 +342,7 @@ bool HostFNE::readParams()
bool sendTalkgroups = systemConf["sendTalkgroups"].as<bool>(true);
m_peerReplicaSavesACL = systemConf["peerReplicaSaveACL"].as<bool>(false);
bool iAgreeNotToBeStupid = systemConf["iAgreeNotToBeStupid"].as<bool>(false);
bool iAgreeNotToBeStupid = m_conf["iAgreeNotToBeStupid"].as<bool>(false);
if (!iAgreeNotToBeStupid) {
LogError(LOG_HOST, HIGHLY_UNNECESSARY_DISCLAIMER_FOR_THE_MENTAL);
LogError(LOG_HOST, "You must agree to software license terms, and not to be stupid to use this software.");

@ -59,7 +59,7 @@ bool Host::readParams()
m_duplex = systemConf["duplex"].as<bool>(true);
bool simplexSameFreq = systemConf["simplexSameFrequency"].as<bool>(false);
bool iAgreeNotToBeStupid = systemConf["iAgreeNotToBeStupid"].as<bool>(false);
bool iAgreeNotToBeStupid = m_conf["iAgreeNotToBeStupid"].as<bool>(false);
if (!iAgreeNotToBeStupid) {
LogError(LOG_HOST, HIGHLY_UNNECESSARY_DISCLAIMER_FOR_THE_MENTAL);
LogError(LOG_HOST, "You must agree to software license terms, and not to be stupid to use this software.");

Loading…
Cancel
Save

Powered by TurnKey Linux.