Further voice work.

This commit is contained in:
Jonathan Naylor
2019-02-04 14:57:20 +00:00
parent 0f35fc4d8f
commit c9e2f13058
6 changed files with 118 additions and 55 deletions
-8
View File
@@ -41,7 +41,6 @@ m_callsign(),
m_rptAddress(),
m_rptPort(0U),
m_myPort(0U),
m_announcements(true),
m_daemon(false),
m_lookupName(),
m_lookupTime(0U),
@@ -115,8 +114,6 @@ bool CConf::read()
m_rptPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "LocalPort") == 0)
m_myPort = (unsigned int)::atoi(value);
else if (::strcmp(key, "Announcements") == 0)
m_announcements = ::atoi(value) == 1;
else if (::strcmp(key, "Daemon") == 0)
m_daemon = ::atoi(value) == 1;
} else if (section == SECTION_ID_LOOKUP) {
@@ -183,11 +180,6 @@ unsigned int CConf::getMyPort() const
return m_myPort;
}
bool CConf::getAnnouncements() const
{
return m_announcements;
}
bool CConf::getDaemon() const
{
return m_daemon;