bugfix for connection loop

This commit is contained in:
NoobishSVK
2024-03-21 15:40:40 +01:00
parent a06a9e8894
commit d2c84ce0b1
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ function connectToXdrd() {
client.connect(xdrd.xdrdPort, xdrd.xdrdIp, () => {
logInfo('Connection to xdrd established successfully.');
const authFlags = {
let authFlags = {
authMsg: false,
firstClient: false,
receivedPassword: false
@@ -167,7 +167,7 @@ function connectToXdrd() {
client.on('data', (data) => {
helpers.resolveDataBuffer(data, wss);
authDataHandler(data);
//authDataHandler(data);
});
});
}