Configure bug fix

This commit is contained in:
Tom Early committed 2024-05-13 11:29:40 -07:00
1 parent 37d47c1ac6
commit cf86b39848
1 file changed
+3 -3
+3 -3
View File
@@ -290,10 +290,10 @@ bool CConfigure::ReadData(const std::string &path)
break;
case ESection::tc:
if (0 == key.compare(JPORT))
data[g_Keys.tc.port] = getUnsigned(value, "Transcoder Port", 0, 40000, 10100);
else if (key.compare(JBINDINGADDRESS))
data[g_Keys.tc.port] = getUnsigned(value, "Transcoder Port", 1024, 40000, 10100);
else if (0 == key.compare(JBINDINGADDRESS))
data[g_Keys.tc.bind] = value;
else if (key.compare(JMODULES))
else if (0 == key.compare(JMODULES))
{
std::string m(value);
if (checkModules(m))