1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 14:11:59 +01:00

bugfix for >=10 clients connected

This commit is contained in:
NoobishSVK
2024-01-23 23:31:52 +01:00
parent a83231780d
commit 5ab4a39bd5

View File

@@ -83,7 +83,7 @@ client.connect(xdrdServerPort, xdrdServerHost, () => {
if (line.startsWith('a')) {
authFlags.authMsg = true;
consoleCmd.logWarn('Authentication with xdrd failed. Is your password set correctly?');
} else if (line.startsWith('o1')) {
} else if (line.startsWith('o1,')) {
authFlags.firstClient = true;
} else if (line.startsWith('T') && line.length <= 7) {
const freq = line.slice(1) / 1000;