connection boolean fix

This commit is contained in:
NoobishSVK
2024-11-07 19:24:47 +01:00
parent 21484dd6a2
commit df36b06931
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ if (serverConfig.xdrd.wirelessConnection === false) {
function connectToXdrd() {
const { xdrd } = serverConfig;
if (xdrd.wirelessConnection) {
if (xdrd.wirelessConnection && configExists()) {
client.connect(xdrd.xdrdPort, xdrd.xdrdIp, () => {
logInfo('Connection to xdrd established successfully.');