diff --git a/meshcentral.js b/meshcentral.js index 3576c614..298383d6 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -4029,7 +4029,7 @@ function mainStart() { // Messaging support if (config.messaging != null) { if (config.messaging.telegram != null) { modules.push('telegram'); modules.push('input'); } - if (config.messaging.discord != null) { if (nodeVersion >= 17) { modules.push('discord.js@14.6.0'); } else { delete config.messaging.discord; addServerWarning('This NodeJS version does not support Discord.js.', 25); } } + if (config.messaging.discord != null) { if (nodeVersion >= 17) { modules.push('discord.js@14.6.0'); } else { delete config.messaging.discord; addServerWarning('This NodeJS version does not support Discord.js.', 26); } } } // Setup web based push notifications